mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
$l was undefined
This commit is contained in:
parent
21bffbfb69
commit
1fd3c5fbc0
1 changed files with 1 additions and 0 deletions
|
|
@ -10,5 +10,6 @@ $appid = OC_App::enable($_POST['appid']);
|
|||
if($appid !== false) {
|
||||
OC_JSON::success(array('data' => array('appid' => $appid)));
|
||||
} else {
|
||||
$l = OC_L10N::get('settings');
|
||||
OC_JSON::error(array("data" => array( "message" => $l->t("Could not enable app. ") )));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue