diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
commit | 2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch) | |
tree | e5b909e88d9271e3301c9db3fea8771d059a914d /apps/external/appinfo/app.php | |
parent | c94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff) | |
download | nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip |
ported the oc_app calls
Diffstat (limited to 'apps/external/appinfo/app.php')
-rwxr-xr-x | apps/external/appinfo/app.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/external/appinfo/app.php b/apps/external/appinfo/app.php index 66116ac4c6e..b569fc305ba 100755 --- a/apps/external/appinfo/app.php +++ b/apps/external/appinfo/app.php @@ -24,12 +24,12 @@ OC::$CLASSPATH['OC_External'] = 'apps/external/lib/external.php'; OCP\Util::addStyle( 'external', 'style'); -OC_APP::registerAdmin('external', 'settings'); +OCP\App::registerAdmin('external', 'settings'); -OC_App::register(array('order' => 70, 'id' => 'external', 'name' => 'External')); +OCP\App::register(array('order' => 70, 'id' => 'external', 'name' => 'External')); $sites = OC_External::getSites(); for ($i = 0; $i < sizeof($sites); $i++) { - OC_App::addNavigationEntry( + OCP\App::addNavigationEntry( array('id' => 'external_index' . ($i + 1), 'order' => 80 + $i, 'href' => OCP\Util::linkTo('external', 'index.php') . '?id=' . ($i + 1), 'icon' => OCP\Util::imagePath('external', 'external.png'), 'name' => $sites[$i][0])); } |