gunnar: server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve Segment.php, 1.4, 1.5

cvs at kolab.org cvs at kolab.org
Tue Apr 6 19:47:36 CEST 2010


Author: gunnar

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve
In directory doto:/tmp/cvs-serv7711/kolab-webadmin/lib/KolabAdmin/Sieve

Modified Files:
	Segment.php 
Log Message:
Fix some minor sieve script issues.

Index: Segment.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve/Segment.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Segment.php	6 Apr 2010 08:55:28 -0000	1.4
+++ Segment.php	6 Apr 2010 17:47:34 -0000	1.5
@@ -72,13 +72,15 @@
     }
 
     /**
-     * Set the segment active.
+     * Set the segment (in)active.
+     *
+     * @param boolean $active Should the segment be active or inactive?
      *
      * @return NULL
      */
-    public function setActive()
+    public function setActive($active = true)
     {
-        $this->_active = true;
+        $this->_active = $active;
     }
 
     /**





More information about the commits mailing list