diff options
Diffstat (limited to 'apps/media')
-rwxr-xr-x[-rw-r--r--] | apps/media/appinfo/app.php | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | apps/media/index.php | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php index b0891874f7b..10f5ec0ff11 100644..100755 --- a/apps/media/appinfo/app.php +++ b/apps/media/appinfo/app.php @@ -24,7 +24,7 @@ $l=OC_L10N::get('media'); require_once('apps/media/lib_media.php'); -OC_Util::addScript('media','loader'); +OCP\Util::addscript('media','loader'); OC_APP::registerPersonal('media','settings'); OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' )); diff --git a/apps/media/index.php b/apps/media/index.php index a102068740c..ee0681668a5 100644..100755 --- a/apps/media/index.php +++ b/apps/media/index.php @@ -31,12 +31,12 @@ OC_Util::checkAppEnabled('media'); require_once(OC::$APPSROOT . '/apps/media/lib_collection.php'); require_once(OC::$APPSROOT . '/apps/media/lib_scanner.php'); -OC_Util::addScript('media','player'); -OC_Util::addScript('media','music'); -OC_Util::addScript('media','playlist'); -OC_Util::addScript('media','collection'); -OC_Util::addScript('media','scanner'); -OC_Util::addScript('media','jquery.jplayer.min'); +OCP\Util::addscript('media','player'); +OCP\Util::addscript('media','music'); +OCP\Util::addscript('media','playlist'); +OCP\Util::addscript('media','collection'); +OCP\Util::addscript('media','scanner'); +OCP\Util::addscript('media','jquery.jplayer.min'); OCP\Util::addStyle('media','music'); OC_App::setActiveNavigationEntry( 'media_index' ); |