mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
in oc8 or later share_backend need to implement isShareTypeAllowed()
This commit is contained in:
parent
511ac3d735
commit
c5555e89c5
@ -127,4 +127,8 @@ class Addressbook implements \OCP\Share_Backend_Collection {
|
|||||||
return $children;
|
return $children;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isShareTypeAllowed($shareType) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -72,4 +72,8 @@ class Contact implements \OCP\Share_Backend {
|
|||||||
return $contacts;
|
return $contacts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function isShareTypeAllowed($shareType) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user