diff options
author | Vinicius Cubas Brand <viniciuscb@gmail.com> | 2017-11-02 10:40:38 -0200 |
---|---|---|
committer | Vinicius Cubas Brand <viniciuscb@gmail.com> | 2017-11-03 11:41:40 -0200 |
commit | 10ca793452e75ecd276589f8ad916f3090ecb441 (patch) | |
tree | 2d902024afb03a4f88356b68b97369f86cec8372 /apps/user_ldap/tests/LDAPGroupPluginDummy.php | |
parent | 576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff) | |
download | nextcloud-server-10ca793452e75ecd276589f8ad916f3090ecb441.tar.gz nextcloud-server-10ca793452e75ecd276589f8ad916f3090ecb441.zip |
Plugins infrastructure in User_LDAP
Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Diffstat (limited to 'apps/user_ldap/tests/LDAPGroupPluginDummy.php')
-rw-r--r-- | apps/user_ldap/tests/LDAPGroupPluginDummy.php | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/LDAPGroupPluginDummy.php b/apps/user_ldap/tests/LDAPGroupPluginDummy.php new file mode 100644 index 00000000000..c2ccf3338a7 --- /dev/null +++ b/apps/user_ldap/tests/LDAPGroupPluginDummy.php @@ -0,0 +1,59 @@ +<?php +/** + * @copyright Copyright (c) 2017 EITA Cooperative (eita.org.br) + * + * @author Vinicius Brand <vinicius@eita.org.br> + * @author Daniel Tygel <dtygel@eita.org.br> + * + * @license AGPL-3.0 + * + * This code is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License, version 3, + * along with this program. If not, see <http://www.gnu.org/licenses/> + * + */ + +namespace OCA\User_LDAP\Tests; + + +use OCA\User_LDAP\ILDAPGroupPlugin; + +class LDAPGroupPluginDummy implements ILDAPGroupPlugin { + + + public function respondToActions() { + return null; + } + + public function createGroup($gid) { + return null; + } + + public function deleteGroup($gid) { + return null; + } + + public function addToGroup($uid, $gid) { + return null; + } + + public function removeFromGroup($uid, $gid) { + return null; + } + + public function countUsersInGroup($gid, $search = '') { + return null; + } + + public function getGroupDetails($gid) { + return null; + } +} |