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/media/appinfo | |
parent | c94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff) | |
download | nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip |
ported the oc_app calls
Diffstat (limited to 'apps/media/appinfo')
-rwxr-xr-x | apps/media/appinfo/app.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index 5e7a411f677..26cb2045549 100755 --- a/apps/media/appinfo/app.php +++ b/apps/media/appinfo/app.php @@ -25,10 +25,10 @@ $l=OC_L10N::get('media'); require_once('apps/media/lib_media.php'); OCP\Util::addscript('media','loader'); -OC_APP::registerPersonal('media','settings'); +OCP\App::registerPersonal('media','settings'); -OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); +OCP\App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); -OC_App::addNavigationEntry(array('id' => 'media_index', 'order' => 2, 'href' => OCP\Util::linkTo('media', 'index.php'), 'icon' => OCP\Util::imagePath('core', 'places/music.svg'), 'name' => $l->t('Music'))); +OCP\App::addNavigationEntry(array('id' => 'media_index', 'order' => 2, 'href' => OCP\Util::linkTo('media', 'index.php'), 'icon' => OCP\Util::imagePath('core', 'places/music.svg'), 'name' => $l->t('Music'))); OC_Search::registerProvider('OC_MediaSearchProvider'); |