From deb38715c7df5b148e0c0952d9ce88833b220718 Mon Sep 17 00:00:00 2001 From: quix0r Date: Sun, 7 Aug 2011 00:57:39 +0000 Subject: [PATCH] grep-ing for global statements in security_functions.php is not required --- DOCS/final-checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCS/final-checker.sh b/DOCS/final-checker.sh index 40526a7fc5..322b9382d0 100755 --- a/DOCS/final-checker.sh +++ b/DOCS/final-checker.sh @@ -22,7 +22,7 @@ DEPRECATED_TPL=`find -type f -name "*.tpl" -exec grep "@DEPRECATED" {} \; | grep echo " - DEPRECATED in XML..." DEPRECATED_XML=`find -type f -name "*.xml" -exec grep "@DEPRECATED" {} \; | grep "@" --count` echo " - global statements..." -GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "phpmailer" --count` +GLOBALS=`find -type f -name "*.php" -exec grep -Hn "global " {} \; | grep -v "//" | grep -v "security_functions.php" | grep -v "phpmailer" --count` echo "$0: Result..." echo "--------------------------------------" echo " - Open TODOs: ${TODOS_PHP}/${TODOS_TPL}/${TODOS_XML}" -- 2.39.5