Changeset 479 for trunk/services


Ignore:
Timestamp:
May 3, 2014 11:09:03 PM (10 years ago)
Author:
anonymous
Message:

Convert tabs to spaces, and lineendings to LF in all files.

Location:
trunk/services
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/admins.php

    r468 r479  
    280280    global $auth;
    281281    global $lock;
    282     $app =& App::getInstance();
    283     $db =& DB::getInstance();
     282    $app =& App::getInstance();
     283    $db =& DB::getInstance();
    284284
    285285    $lock->select($auth->getParam('db_table'), $auth->getParam('db_primary_key'), $id);
     
    339339    global $lock;
    340340    global $cache;
    341     $app =& App::getInstance();
    342     $db =& DB::getInstance();
     341    $app =& App::getInstance();
     342    $db =& DB::getInstance();
    343343
    344344    $lock->select($auth->getParam('db_table'), $auth->getParam('db_primary_key'), $id);
     
    385385    global $auth;
    386386    global $cache;
    387     $app =& App::getInstance();
    388     $db =& DB::getInstance();
     387    $app =& App::getInstance();
     388    $db =& DB::getInstance();
    389389
    390390    // Remove any stale cached list data.
     
    428428    global $lock;
    429429    global $cache;
    430     $app =& App::getInstance();
    431     $db =& DB::getInstance();
     430    $app =& App::getInstance();
     431    $db =& DB::getInstance();
    432432
    433433    $lock->select($auth->getParam('db_table'), $auth->getParam('db_primary_key'), $frm['admin_id']);
     
    474474    global $cache;
    475475    global $auth;
    476     $db =& DB::getInstance();
     476    $db =& DB::getInstance();
    477477
    478478    $where_clause = '';
  • trunk/services/logs.php

    r468 r479  
    159159function deleteLog($log_file)
    160160{
    161     $app =& App::getInstance();
     161    $app =& App::getInstance();
    162162
    163163    if (!file_exists($app->getParam('log_directory') . '/' . $log_file)) {
     
    186186function clearLog($log_file)
    187187{
    188     $app =& App::getInstance();
     188    $app =& App::getInstance();
    189189
    190190    if (!$fp = fopen($app->getParam('log_directory') . '/' . $log_file, 'r+')) {
     
    211211function archiveLog($log_file)
    212212{
    213     $app =& App::getInstance();
     213    $app =& App::getInstance();
    214214
    215215    $old_file_name = $log_file;
     
    233233function printLog($log_file)
    234234{
    235     $app =& App::getInstance();
     235    $app =& App::getInstance();
    236236
    237237    if (!is_file($app->getParam('log_directory') . '/' . $log_file)) {
     
    246246function &getLog($log_file, $search_query='')
    247247{
    248     $app =& App::getInstance();
     248    $app =& App::getInstance();
    249249
    250250    $log = array();
     
    271271{
    272272    global $valid_file_extensions;
    273     $app =& App::getInstance();
     273    $app =& App::getInstance();
    274274
    275275    // Get a list of all files in the log directory.
Note: See TracChangeset for help on using the changeset viewer.