Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1497
 
1857
 
1857
 
administrators_log.php
_> 11 <?php
  22 /*
<> 3 -  $Id: $
   3+  $Id: administrators_log.php 1857 2009-03-01 02:41:14Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2007 osCommerce
   8+  Copyright (c) 2009 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
  1212   as published by the Free Software Foundation.
  1313 */
  1414 
<> 15 -  class osC_AdministratorsLog {
  16 -    function getData($id) {
   15+  class osC_AdministratorsLog_Admin {
   16+    public static function getData($id) {
1717       global $osC_Database;
  1818 
  1919       $Qlog = $osC_Database->query('select al.id, al.module, al.module_action, al.module_id, al.action, a.user_name, unix_timestamp(al.datestamp) as datestamp from :table_administrators_log al, :table_administrators a where al.id = :id and al.administrators_id = a.id limit 1');
     
 !
2929       return $data;
  3030     }
  3131 
<> 32 -    function insert($module, $module_action, $module_id, $action, $log, $transaction_id) {
   32+    public static function insert($module, $module_action, $module_id, $action, $log, $transaction_id) {
3333       global $osC_Database;
  3434 
  3535       if ( is_numeric($transaction_id) ) {
     
 !
6262       }
  6363     }
  6464 
<> 65 -    function delete($id) {
   65+    public static function delete($id) {
<_ 6666       global $osC_Database;
  6767 
  6868       $Qlog = $osC_Database->query('delete from :table_administrators_log where id = :id');