[packages/cacti-plugin-npc] fix bad style
glen
glen at pld-linux.org
Sun Nov 25 23:16:48 CET 2012
commit 07d4997bdab9e6df646b23c4d30024422066104e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Nov 26 00:04:18 2012 +0200
fix bad style
ndoutils-1.5.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ndoutils-1.5.patch b/ndoutils-1.5.patch
index 6f360a8..190f785 100644
--- a/ndoutils-1.5.patch
+++ b/ndoutils-1.5.patch
@@ -18,9 +18,9 @@ upgrade schema to ndoutils-1.5.2
+
+ // Add some default values
-+ $sql[] = "INSERT IGNORE INTO settings VALUES ('npc_date_format','Y-m-d');";
-+ $sql[] = "INSERT IGNORE INTO settings VALUES ('npc_time_format','H:i');";
-+ $sql[] = "INSERT IGNORE INTO settings VALUES ('npc_log_level','0');";
++ $sql[] = "INSERT IGNORE INTO settings (name, value) VALUES ('npc_date_format','Y-m-d');";
++ $sql[] = "INSERT IGNORE INTO settings (name, value) VALUES ('npc_time_format','H:i');";
++ $sql[] = "INSERT IGNORE INTO settings (name, value) VALUES ('npc_log_level','0');";
+
if (!in_array('npc_acknowledgements', $tables)) {
- $sql[] = "CREATE TABLE `npc_acknowledgements` (
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cacti-plugin-npc.git/commitdiff/7825b19bd5268112c97769b9048874bb1809abc1
More information about the pld-cvs-commit
mailing list