diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 19:08:37 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 19:08:37 +0200 |
commit | 4fe90f62f4041d31402cbe198fd0e3edce77ce13 (patch) | |
tree | 2320a5fabe2e5347c04472af1cc95a6eb056369f /apps/user_migrate | |
parent | eec7c3833c9c1f1e83549474d6ba4b34ce307761 (diff) | |
download | nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.tar.gz nextcloud-server-4fe90f62f4041d31402cbe198fd0e3edce77ce13.zip |
port checkAppEnabled
Diffstat (limited to 'apps/user_migrate')
-rwxr-xr-x | apps/user_migrate/admin.php | 2 | ||||
-rwxr-xr-x | apps/user_migrate/ajax/export.php | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | apps/user_migrate/settings.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_migrate/admin.php b/apps/user_migrate/admin.php index 518e4f43f61..93f9d59aa4d 100755 --- a/apps/user_migrate/admin.php +++ b/apps/user_migrate/admin.php @@ -21,7 +21,7 @@ * */ OCP\User::checkAdminUser(); -OC_Util::checkAppEnabled('user_migrate'); +OCP\App::checkAppEnabled('user_migrate'); // Import? if (isset($_POST['user_import'])) { diff --git a/apps/user_migrate/ajax/export.php b/apps/user_migrate/ajax/export.php index 874c0428285..ef8e331c68c 100755 --- a/apps/user_migrate/ajax/export.php +++ b/apps/user_migrate/ajax/export.php @@ -25,7 +25,7 @@ // Check if we are a user OC_JSON::checkLoggedIn(); -OC_Util::checkAppEnabled('user_migrate'); +OCP\App::checkAppEnabled('user_migrate'); // Which operation if( $_GET['operation']=='create' ){ $uid = !empty( $_POST['uid'] ) ? $_POST['uid'] : OCP\USER::getUser(); diff --git a/apps/user_migrate/settings.php b/apps/user_migrate/settings.php index 62f347b3557..2994d10a1eb 100644..100755 --- a/apps/user_migrate/settings.php +++ b/apps/user_migrate/settings.php @@ -22,7 +22,7 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. * */ -OC_Util::checkAppEnabled('user_migrate'); +OCP\App::checkAppEnabled('user_migrate'); // fill template $tmpl = new OC_Template('user_migrate', 'settings'); |