backend.inc merge?
authorDaniel Hromada <hromi@Aphrodité.(none)>
Tue, 15 Mar 2011 22:23:52 +0000 (23:23 +0100)
committerDaniel Hromada <hromi@Aphrodité.(none)>
Tue, 15 Mar 2011 22:23:52 +0000 (23:23 +0100)
wwwroot/backend/mysql/backend.inc

index f8cd6a3fec998f83318162a8ee967ecc58dc1e51..ccefe80a029b567cd936aa2f49efc065292f11c1 100644 (file)
@@ -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');
This page took 0.176912 seconds and 4 git commands to generate.