Author: ralfbecker
New Revision: 55469
URL: http://svn.stylite.de/viewvc/egroupware?rev=55469&view=rev
Log:
fix wrong line-numbers caused by removed comments
Modified:
trunk/egroupware/doc/check_namespace.php
— trunk/egroupware/doc/check_namespace.php (original)
+++ trunk/egroupware/doc/check_namespace.php Mon Mar 21 21:42:06 2016
@@ -28,8 +28,11 @@
if (($content = file_get_contents($file)) === false) return false;
- // remove commented lines
- $lines = preg_replace(’#(//.$|/\.\/)#msU’, ‘’, $content);
-
// replace commented lines with empty ones
-
$lines = preg_replace_callback(’#(//.$|/\.\/)#msU’, function($matches)
-
{
-
return str_repeat("\n", substr_count($matches[0], "\n"));
-
}, $content);
$namespace = ‘’;
$use = array();
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs