From: Harvie Date: Mon, 7 Mar 2011 15:20:36 +0000 (+0100) Subject: static function getNodeIdByName( X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=ff4eaa9c95433962a02f6241b8bf7822b409488d;p=mirrors%2FKyberia-bloodline.git static function getNodeIdByName( --- diff --git a/wwwroot/backend/mysql/backend.inc b/wwwroot/backend/mysql/backend.inc index 8a772c6..78bda9b 100644 --- a/wwwroot/backend/mysql/backend.inc +++ b/wwwroot/backend/mysql/backend.inc @@ -178,7 +178,7 @@ function getUserByLogin($login) { } } -function getNodeIdByName($name, $external_link=false) { +static function getNodeIdByName($name, $external_link=false) { global $db; $qh = sprintf('select node_id from nodes where node_name = "%s"', mysql_real_escape_string($name));