Skip to content
Snippets Groups Projects
Commit 1fd3c5fb authored by Thomas Müller's avatar Thomas Müller
Browse files

$l was undefined

parent 21bffbfb
No related branches found
No related tags found
No related merge requests found
......@@ -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. ") )));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment