From de81c0b4d6eedeae3503478f090a4a7908d761c1 Mon Sep 17 00:00:00 2001 From: Daniel Hromada Date: Tue, 15 Mar 2011 23:23:52 +0100 Subject: [PATCH] backend.inc merge? --- wwwroot/backend/mysql/backend.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/backend/mysql/backend.inc b/wwwroot/backend/mysql/backend.inc index f8cd6a3..ccefe80 100644 --- a/wwwroot/backend/mysql/backend.inc +++ b/wwwroot/backend/mysql/backend.inc @@ -49,7 +49,7 @@ function putNode($what,$where,$checkpermissions=true) { $nodeshell_vector = $nodeshell['node_vector']; if ($checkpermissions) { - $nodeshell_permissions = permissions::checkPermissions($nodeshell); + $nodeshell_permissions = permissions::checkPerms($nodeshell); if (!$nodeshell_permissions['w']) { $error = $error_messages['WRITE_PERMISSION_ERROR']; return false; @@ -72,7 +72,7 @@ function addNode($params) { $parent_id=$node['node_id']; } - $parent_permissions=permissions::checkPermissions($parent_id); + $parent_permissions=permissions::checkPerms($parent_id); if (!$parent_permissions['w']) { $error=$error_messages['WRITE_PERMISSION_ERROR']; logger::log('add','error','WRITE_PERMISSION_ERROR'); -- 2.30.2