/** * Delete all shares with type SHARE_TYPE_LINK */ public static function removeAllLinkShares() { return \OC\Share\Share::removeAllLinkShares(); }