diff options
author | dartcafe <github@dartcafe.de> | 2020-08-17 18:44:02 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-08-17 18:44:02 +0300 |
commit | f29310618551b688c2bab412cb127b37c64ea3f2 (patch) | |
tree | b9b037f8e24a0efd441681639e150d670a8faa0a | |
parent | c679210764583b8a25df9c5e3a231eb0a8cfb9e3 (diff) |
removed logging
-rw-r--r-- | lib/Controller/OptionController.php | 2 | ||||
-rw-r--r-- | lib/Controller/ShareController.php | 1 | ||||
-rw-r--r-- | lib/Service/ShareService.php | 1 | ||||
-rw-r--r-- | lib/Service/SystemService.php | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/lib/Controller/OptionController.php b/lib/Controller/OptionController.php index e8fd8cad..3416a399 100644 --- a/lib/Controller/OptionController.php +++ b/lib/Controller/OptionController.php @@ -137,8 +137,6 @@ class OptionController extends Controller { $searchTo = clone $searchFrom; $searchTo = $searchTo->add(new DateInterval('PT3H')); - \OC::$server->getLogger()->alert('Search events between ' . $searchFrom->format('Y-m-d H:i:s') . ' and ' . $searchTo->format('Y-m-d H:i:s')); - return new DataResponse(['events' => array_values($this->calendarService->getEvents($searchFrom, $searchTo))], Http::STATUS_OK); diff --git a/lib/Controller/ShareController.php b/lib/Controller/ShareController.php index 9c566214..a009150e 100644 --- a/lib/Controller/ShareController.php +++ b/lib/Controller/ShareController.php @@ -200,7 +200,6 @@ class ShareController extends Controller { $shares = []; try { $share = $this->shareService->get($token); - \OC::$server->getLogger()->alert('Suche nach Gruppe: ' . $share->getUserId()); foreach ($this->systemService->getContactsGroupMembers($share->getUserId()) as $member) { $shares[] = $this->shareService->add($share->getpollId(), 'contact', $member['user'], $member['emailAddress']) ; } diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php index af069d6e..095b0fc5 100644 --- a/lib/Service/ShareService.php +++ b/lib/Service/ShareService.php @@ -117,7 +117,6 @@ class ShareService { * @throws NotAuthorizedException */ public function add($pollId, $type, $userId, $userEmail = '') { - \OC::$server->getLogger()->alert('==== Start '); if (!$this->acl->set($pollId)->getAllowEdit()) { throw new NotAuthorizedException; diff --git a/lib/Service/SystemService.php b/lib/Service/SystemService.php index dbc37c3f..6f49bbcc 100644 --- a/lib/Service/SystemService.php +++ b/lib/Service/SystemService.php @@ -200,7 +200,6 @@ class SystemService { */ public function getContactsGroupMembers($query = '') { $contacts = array(); - \OC::$server->getLogger()->alert('Suche nach Gruppe: ' . $query); foreach (\OC::$server->getContactsManager()->search($query, array('CATEGORIES')) as $contact) { if ( !array_key_exists('isLocalSystemBook', $contact) |