diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-30 23:05:10 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-30 23:17:18 +0200 |
commit | f4782a76907cf010faf9f4cd7deb3a67a2d02de9 (patch) | |
tree | ff3236d0f2785bc6946e84a80e69cf65a1fd6559 /apps/media/tomahawk.php | |
parent | ddd359989909add47912ad358bec55a924907d81 (diff) | |
download | nextcloud-server-f4782a76907cf010faf9f4cd7deb3a67a2d02de9.tar.gz nextcloud-server-f4782a76907cf010faf9f4cd7deb3a67a2d02de9.zip |
Check if the application is actually enabled
Diffstat (limited to 'apps/media/tomahawk.php')
-rw-r--r-- | apps/media/tomahawk.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/media/tomahawk.php b/apps/media/tomahawk.php index 1db982a3504..68401db67ae 100644 --- a/apps/media/tomahawk.php +++ b/apps/media/tomahawk.php @@ -24,6 +24,7 @@ $_POST=$_GET; //debug require_once('../../lib/base.php'); +OC_JSON::checkAppEnabled('media'); require_once('lib_collection.php'); $user=isset($_POST['user'])?$_POST['user']:''; |