diff options
Diffstat (limited to 'apps/media/appinfo/app.php')
-rw-r--r-- | apps/media/appinfo/app.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index a41e228be4a..d75bac031e9 100644 --- a/apps/media/appinfo/app.php +++ b/apps/media/appinfo/app.php @@ -22,12 +22,12 @@ require_once('apps/media/lib_media.php'); -if(OC_APP::getCurrentApp()=='files'){ - OC_UTIL::addScript('media','files'); +if(OC_App::getCurrentApp()=='files'){ + OC_Util::addScript('media','files'); } -OC_APP::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); +OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); -OC_APP::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_HELPER::linkTo( 'media', 'index.php' ), 'icon' => OC_HELPER::imagePath( 'media', 'media.png' ), 'name' => 'Media' )); -OC_APP::addSettingsPage( array( 'id' => 'media_settings', 'order' => 5, 'href' => OC_HELPER::linkTo( 'media', 'settings.php' ), 'name' => 'Media', 'icon' => OC_HELPER::imagePath( 'media', 'media.png' ))); +OC_App::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo( 'media', 'index.php' ), 'icon' => OC_Helper::imagePath( 'media', 'media.png' ), 'name' => 'Media' )); +OC_App::addSettingsPage( array( 'id' => 'media_settings', 'order' => 5, 'href' => OC_Helper::linkTo( 'media', 'settings.php' ), 'name' => 'Media', 'icon' => OC_Helper::imagePath( 'media', 'media.png' ))); ?> |