[Pkg-owncloud-commits] [php-sabre-vobject] 154/341: Clean.

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:35:43 UTC 2015


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

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit f508ff2af6fd5adc0b1b1cbfca602e7c27e128d1
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date:   Mon Jan 19 13:57:32 2015 +0100

    Clean.
---
 lib/Property/ICalendar/Period.php | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/lib/Property/ICalendar/Period.php b/lib/Property/ICalendar/Period.php
index e6e0904..7e53104 100644
--- a/lib/Property/ICalendar/Period.php
+++ b/lib/Property/ICalendar/Period.php
@@ -126,20 +126,6 @@ class Period extends Property {
     }
 
     /**
-     * Sets the XML value, as it would appear in a xCard or xCal object.
-     *
-     * The value must always be an array.
-     *
-     * @param array $value
-     * @return void
-     */
-    function setXmlValue(array $value) {
-
-        $this->setJsonValue($value);
-
-    }
-
-    /**
      * Returns the value, in the format it should be encoded for XML.
      *
      * This method must always return an array.
@@ -148,7 +134,7 @@ class Period extends Property {
      */
     public function getXmlValue() {
 
-        $val = $this->getJsonValue();
+        $val = parent::getXmlValue();
 
         return [
             [

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



More information about the Pkg-owncloud-commits mailing list