summaryrefslogtreecommitdiffstats
path: root/apps/admin_migrate
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 22:59:38 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 22:59:38 +0200
commit31e32e3c10ace169e0d841ff6e4b17d11fe64f1b (patch)
tree9a66b470bb9d5c8957a41902e17b5b4e95243343 /apps/admin_migrate
parente2fb094693e94d425fa9f59278806ef636fc127b (diff)
downloadnextcloud-server-31e32e3c10ace169e0d841ff6e4b17d11fe64f1b.tar.gz
nextcloud-server-31e32e3c10ace169e0d841ff6e4b17d11fe64f1b.zip
ported checkLoggedIn and checkAdmin
Diffstat (limited to 'apps/admin_migrate')
-rwxr-xr-x[-rw-r--r--]apps/admin_migrate/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/admin_migrate/settings.php b/apps/admin_migrate/settings.php
index 94bf6052a6b..da96e1a8684 100644..100755
--- a/apps/admin_migrate/settings.php
+++ b/apps/admin_migrate/settings.php
@@ -22,7 +22,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
-OC_Util::checkAdminUser();
+OCP\User::checkAdminUser();
OC_Util::checkAppEnabled('admin_migrate');
// Export?