[Pkg-owncloud-commits] [php-sabredav] 07/64: Removed getPrincipalbyEmail.

David Prévot taffit at moszumanska.debian.org
Thu Dec 11 15:13:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag 2.2.0alpha1
in repository php-sabredav.

commit 44551e940fb135a516a70f6924f7f1a65374e502
Author: Evert Pot <me at evertpot.com>
Date:   Thu Oct 23 22:57:50 2014 -0400

    Removed getPrincipalbyEmail.
---
 ChangeLog.md          |  2 ++
 lib/DAVACL/Plugin.php | 17 -----------------
 2 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/ChangeLog.md b/ChangeLog.md
index 9772b55..c6958f5 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -18,6 +18,8 @@ ChangeLog
   `Sabre\DAV\Client::setVerifyPeer`.
 * Removed: `Sabre\DAV\Plugin::getPlugin()` can now no longer return plugins
   based on its class name.
+* Removed: `Sabre\DAVACL\Plugin::getPrincipalByEmail()`.
+
 
 2.1.0-alpha2 (2014-10-23)
 -------------------------
diff --git a/lib/DAVACL/Plugin.php b/lib/DAVACL/Plugin.php
index 27e8a31..e1a5583 100644
--- a/lib/DAVACL/Plugin.php
+++ b/lib/DAVACL/Plugin.php
@@ -587,23 +587,6 @@ class Plugin extends DAV\ServerPlugin {
 
     }
 
-    /**
-     * Returns a principal url based on an email address.
-     *
-     * Note that wether or not this works may depend on wether a search
-     * facility is built into the server.
-     *
-     * This method returns false if the principal could not be found.
-     *
-     * @deprecated use getPrincipalByUri instead.
-     * @return string|bool
-     */
-    function getPrincipalByEmail($email) {
-
-        $result = $this->getPrincipalByUri('mailto:' . $email);
-        return $result?:false;
-
-    }
 
     /**
      * Returns a principal based on its uri.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list