X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fnodes.inc;h=2f63e55265648747b7ef17714ac58858916eabac;hb=a49cab65d2564c103fac69c6c7f78395658d2a37;hp=b4adcdd48b64d22827adb33c4aef1592c2231203;hpb=63c0e85f25b408f1f2383c8da3526af7cff9caea;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index b4adcdd..2f63e55 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -28,7 +28,7 @@ function addNode($params) { $parent_permissions=permissions::checkPermissions($parent_id); if (!$parent_permissions['w']) { $error=$error_messages['WRITE_PERMISSION_ERROR']; - $logger->log('add','error','WRITE_PERMISSION_ERROR'); + logger::log('add','error','WRITE_PERMISSION_ERROR'); return false; } @@ -100,7 +100,7 @@ node_vector='".$params['node_vector']."'"; --$user_k; $db->query("update users set user_k='$user_k' where user_id='$params[node_creator]'"); $db->query("commit"); - $logger->log('add','ok',$id); + logger::log('add','ok',$id); if ($_POST['code']) { $params['node_creator']=UBIK_ID; @@ -142,7 +142,7 @@ function processContent($node_content) { else { global $db,$htmlparse,$error; - if (!htmlparse::htmlparse($node_content)) { + if (!htmlparser::htmlparse($node_content)) { $error=$htmlparse; return false; }