diff --git a/lib/group_sql.php b/lib/group_sql.php index 08c8d76..b0531e6 100644 --- a/lib/group_sql.php +++ b/lib/group_sql.php @@ -21,13 +21,13 @@ class OC_GROUP_SQL extends \OC_Group_Backend implements \OCP\GroupInterface public function getUserGroups($uid) { if(empty($this -> settings['sql_group_table'])) { - \OCP\Util::writeLog('OC_USER_SQL', "Group table not configured", \OCP\Util::DEBUG); + Util::writeLog('OC_USER_SQL', "Group table not configured", Util::DEBUG); return []; } $rows = $this -> helper -> runQuery('getUserGroups', array('uid' => $uid), false, true); if($rows === false) { - \OCP\Util::writeLog('OC_USER_SQL', "Found no group", \OCP\Util::DEBUG); + Util::writeLog('OC_USER_SQL', "Found no group", Util::DEBUG); return []; } $groups = array(); @@ -60,13 +60,13 @@ class OC_GROUP_SQL extends \OC_Group_Backend implements \OCP\GroupInterface public function usersInGroup($gid, $search = '', $limit = null, $offset = null) { if(empty($this -> settings['sql_group_table'])) { - \OCP\Util::writeLog('OC_USER_SQL', "Group table not configured", \OCP\Util::DEBUG); + Util::writeLog('OC_USER_SQL', "Group table not configured", Util::DEBUG); return []; } $rows = $this -> helper -> runQuery('getGroupUsers', array('gid' => $gid), false, true); if($rows === false) { - \OCP\Util::writeLog('OC_USER_SQL', "Found no users for group", \OCP\Util::DEBUG); + Util::writeLog('OC_USER_SQL', "Found no users for group", Util::DEBUG); return []; } $users = array(); diff --git a/lib/helper.php b/lib/helper.php index bfa56a8..6375e26 100644 --- a/lib/helper.php +++ b/lib/helper.php @@ -1,7 +1,7 @@ diff --git a/lib/user_sql.php b/lib/user_sql.php index 6ca1fc3..fc87e2a 100644 --- a/lib/user_sql.php +++ b/lib/user_sql.php @@ -1,7 +1,7 @@