diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-09-12 12:02:39 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-09-12 12:02:39 +0200 |
commit | 62d8202d59c7a98c9a9faf0f2de90d52dd94ce56 (patch) | |
tree | 7f61ae1923b82b6de8b4ef4e704f3173881cebf5 | |
parent | c5f9b887ffc9ec793d0d5f35536fa215fb95efc6 (diff) | |
download | nextcloud-server-62d8202d59c7a98c9a9faf0f2de90d52dd94ce56.tar.gz nextcloud-server-62d8202d59c7a98c9a9faf0f2de90d52dd94ce56.zip |
return a message when app could not be enabled
-rw-r--r-- | settings/ajax/enableapp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/enableapp.php b/settings/ajax/enableapp.php index b9cf6a13670..1075a9a433c 100644 --- a/settings/ajax/enableapp.php +++ b/settings/ajax/enableapp.php @@ -10,5 +10,5 @@ $appid = OC_App::enable($_POST['appid']); if($appid !== false) { OC_JSON::success(array('data' => array('appid' => $appid))); } else { - OC_JSON::error(); + OC_JSON::error(array("data" => array( "message" => $l->t("Could not enable app. ") ))); } |