$l was undefined
This commit is contained in:
parent
21bffbfb69
commit
1fd3c5fbc0
|
@ -10,5 +10,6 @@ $appid = OC_App::enable($_POST['appid']);
|
||||||
if($appid !== false) {
|
if($appid !== false) {
|
||||||
OC_JSON::success(array('data' => array('appid' => $appid)));
|
OC_JSON::success(array('data' => array('appid' => $appid)));
|
||||||
} else {
|
} else {
|
||||||
|
$l = OC_L10N::get('settings');
|
||||||
OC_JSON::error(array("data" => array( "message" => $l->t("Could not enable app. ") )));
|
OC_JSON::error(array("data" => array( "message" => $l->t("Could not enable app. ") )));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue