diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 22:59:38 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-01 22:59:38 +0200 |
commit | 31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (patch) | |
tree | 9a66b470bb9d5c8957a41902e17b5b4e95243343 /apps/user_migrate/admin.php | |
parent | e2fb094693e94d425fa9f59278806ef636fc127b (diff) | |
download | nextcloud-server-31e32e3c10ace169e0d841ff6e4b17d11fe64f1b.tar.gz nextcloud-server-31e32e3c10ace169e0d841ff6e4b17d11fe64f1b.zip |
ported checkLoggedIn and checkAdmin
Diffstat (limited to 'apps/user_migrate/admin.php')
-rwxr-xr-x | apps/user_migrate/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_migrate/admin.php b/apps/user_migrate/admin.php index e94bda5baec..028433939c5 100755 --- a/apps/user_migrate/admin.php +++ b/apps/user_migrate/admin.php @@ -20,7 +20,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ -OC_Util::checkAdminUser(); +OCP\User::checkAdminUser(); OC_Util::checkAppEnabled('user_migrate'); // Import? |