/[locfinder]/locfinder/functions/func_admin.php
ViewVC logotype

Diff of /locfinder/functions/func_admin.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by yob, Fri Jan 24 11:18:15 2003 UTC revision 1.2 by yob, Fri Jan 24 12:52:15 2003 UTC
# Line 29  Line 29 
29    
30  if($in_locfinder) {  if($in_locfinder) {
31    
32      function write_log($user, $action, $comment) {      function write_log($success, $user, $action, $comment) {
33    
34          $loc_db = new locDatabase;          $loc_db = new locDatabase;
35    
36          $sql = "INSERT INTO logs (time, user, action, comment) VALUES(now(), '$user', '$action', '$comment')";          $sql = "INSERT INTO logs (time, success, user, action, comment) VALUES(now(), $success, '$user', '$action', '$comment')";
37    
38          $loc_db->query( $sql );          $loc_db->query( $sql );
39    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26