Changeset 479 for trunk/lib/Lock.inc.php


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Lock.inc.php

    r478 r479  
    7575    public function __construct($auth_object)
    7676    {
    77         $app =& App::getInstance();
     77        $app =& App::getInstance();
    7878
    7979        if (!method_exists($auth_object, 'get') || !method_exists($auth_object, 'getUsername')) {
     
    9898    public function initDB($recreate_db=false)
    9999    {
    100         $app =& App::getInstance();
    101         $db =& DB::getInstance();
     100        $app =& App::getInstance();
     101        $db =& DB::getInstance();
    102102
    103103        static $_db_tested = false;
     
    160160    public function getParam($param)
    161161    {
    162         $app =& App::getInstance();
     162        $app =& App::getInstance();
    163163
    164164        if (array_key_exists($param, $this->_params)) {
     
    181181    public function select($record_table_or_lock_id, $record_key=null, $record_val=null)
    182182    {
    183         $app =& App::getInstance();
    184         $db =& DB::getInstance();
     183        $app =& App::getInstance();
     184        $db =& DB::getInstance();
    185185
    186186        $this->initDB();
     
    233233    public function isMine()
    234234    {
    235         $db =& DB::getInstance();
     235        $db =& DB::getInstance();
    236236
    237237        $this->initDB();
     
    261261    public function set($record_table, $record_key, $record_val, $title='')
    262262    {
    263         $db =& DB::getInstance();
     263        $db =& DB::getInstance();
    264264
    265265        $this->initDB();
     
    307307    public function remove()
    308308    {
    309         $app =& App::getInstance();
    310         $db =& DB::getInstance();
     309        $app =& App::getInstance();
     310        $db =& DB::getInstance();
    311311
    312312        $this->initDB();
     
    329329    public function removeAll($user_id=null)
    330330    {
    331         $app =& App::getInstance();
    332         $db =& DB::getInstance();
     331        $app =& App::getInstance();
     332        $db =& DB::getInstance();
    333333
    334334        $this->initDB();
     
    353353    public function _auto_timeout()
    354354    {
    355         $db =& DB::getInstance();
     355        $db =& DB::getInstance();
    356356
    357357        static $_timeout_run = false;
     
    374374    public function dieErrorPage()
    375375    {
    376         $app =& App::getInstance();
     376        $app =& App::getInstance();
    377377
    378378        $app->dieURL(sprintf('%s?lock_id=%s&boomerang=%s', $this->getParam('error_url'), $this->data['lock_id'], urlencode(absoluteMe())));
     
    384384    public function printErrorHTML()
    385385    {
    386         $app =& App::getInstance();
     386        $app =& App::getInstance();
    387387
    388388        ?>
Note: See TracChangeset for help on using the changeset viewer.