Changeset 178 for trunk/lib/ACL.inc.php
- Timestamp:
- Jun 22, 2006 9:27:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/ACL.inc.php
r177 r178 529 529 530 530 $db->query("REPLACE INTO acl_tbl VALUES ('$aro_id', '$aco_id', '$axo_id', '$allow', NOW())"); 531 $app->logMsg(sprintf('Set %s: %s -> %s -> %s.', $allow, $aro, $aco, $axo), LOG_DEBUG, __FILE__, __LINE__); 531 532 532 533 return true; … … 582 583 if (substr_count($final_where, 'IS NOT NULL') == 3) { 583 584 // Null on all three tables will delete ALL entries including the root -> root -> root = deny. 584 $app->logMsg(sprintf('Cannot allow deletion of allacl entries.', null), LOG_NOTICE, __FILE__, __LINE__);585 $app->logMsg(sprintf('Cannot allow deletion of ALL acl entries.', null), LOG_NOTICE, __FILE__, __LINE__); 585 586 return false; 586 587 }
Note: See TracChangeset
for help on using the changeset viewer.