mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Remove one angular controller, we need to understand multiple controller problems
This commit is contained in:
@@ -49,6 +49,7 @@ class ConfigMapper extends Mapper {
|
||||
try {
|
||||
$sql = "SELECT `key` FROM `*PREFIX*ocsms_config` WHERE `key` = ? AND `user` = ?";
|
||||
$this->findEntity($sql, array($key, $this->user));
|
||||
|
||||
return true;
|
||||
} catch (DoesNotExistException $e){
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user