Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/OptionController.php2
-rw-r--r--lib/Controller/ShareController.php1
-rw-r--r--lib/Service/ShareService.php1
-rw-r--r--lib/Service/SystemService.php1
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)