SOURCES: eventum-scm-quick-out.patch (NEW) - exit immediately if t...
glen
glen at pld-linux.org
Mon Jun 19 16:45:55 CEST 2006
Author: glen Date: Mon Jun 19 14:45:54 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- exit immediately if there's nothing to process
---- Files affected:
SOURCES:
eventum-scm-quick-out.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/eventum-scm-quick-out.patch
diff -u /dev/null SOURCES/eventum-scm-quick-out.patch:1.1
--- /dev/null Mon Jun 19 16:45:54 2006
+++ SOURCES/eventum-scm-quick-out.patch Mon Jun 19 16:45:49 2006
@@ -0,0 +1,18 @@
+--- eventum-1.7.1/scm_ping.php~ 2006-06-19 17:42:09.926721975 +0300
++++ eventum-1.7.1/scm_ping.php 2006-06-19 17:44:06.729328243 +0300
+@@ -26,7 +26,14 @@
+ // +----------------------------------------------------------------------+
+ //
+ // @(#) $Id$
+-//
++
++// shortcut to exit out when no issue id-s are passed in request
++// as this script is always called by CVS but we handle only ones which can be
++// associated with issues.
++if (empty($_GET['issue']) {
++ exit;
++}
++
+ include_once("config.inc.php");
+ include_once(APP_INC_PATH . "class.misc.php");
+ include_once(APP_INC_PATH . "class.scm.php");
================================================================
More information about the pld-cvs-commit
mailing list