aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-09-12 12:10:57 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-09-12 12:10:57 +0200
commit54eae53206c9baefa50da60b2c614841eda7b156 (patch)
tree7a7da2c0c376c6b72bc8cf7dc19d457861e5e326
parentc0a3bdb7575945629fe99ee13076c56d3578436a (diff)
parent62d8202d59c7a98c9a9faf0f2de90d52dd94ce56 (diff)
downloadnextcloud-server-54eae53206c9baefa50da60b2c614841eda7b156.tar.gz
nextcloud-server-54eae53206c9baefa50da60b2c614841eda7b156.zip
Merge branch 'master' of https://github.com/owncloud/core
-rw-r--r--settings/ajax/enableapp.php2
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. ") )));
}