summaryrefslogtreecommitdiffstats
path: root/apps/external/appinfo/app.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 00:50:26 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 00:50:26 +0200
commit2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch)
treee5b909e88d9271e3301c9db3fea8771d059a914d /apps/external/appinfo/app.php
parentc94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff)
downloadnextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz
nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip
ported the oc_app calls
Diffstat (limited to 'apps/external/appinfo/app.php')
-rwxr-xr-xapps/external/appinfo/app.php6
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]));
}