gunnar: server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve Segment.php, 1.3, 1.4
cvs at kolab.org
cvs at kolab.org
Tue Apr 6 10:55:31 CEST 2010
Author: gunnar
Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve
In directory doto:/tmp/cvs-serv24304/kolab-webadmin/lib/KolabAdmin/Sieve
Modified Files:
Segment.php
Log Message:
Add the vacation segment.
Index: Segment.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/lib/KolabAdmin/Sieve/Segment.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Segment.php 1 Apr 2010 13:38:19 -0000 1.3
+++ Segment.php 6 Apr 2010 08:55:28 -0000 1.4
@@ -99,6 +99,16 @@
'### SEGMENT END ' . strtoupper($this->type) . "\r\n";
}
+ protected function dotstuff($str)
+ {
+ return str_replace("\n.", "\n..", $str);
+ }
+
+ protected function undotstuff($str)
+ {
+ return str_replace("\n..", "\n.", $str);
+ }
+
abstract public function getArguments();
abstract public function parseArguments($script);
More information about the commits
mailing list