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/Version.inc.php

    r478 r479  
    8282    public function __construct($auth_object)
    8383    {
    84         $app =& App::getInstance();
     84        $app =& App::getInstance();
    8585
    8686        if (!method_exists($auth_object, 'get') || !method_exists($auth_object, 'getUsername')) {
     
    105105    public function initDB($recreate_db=false)
    106106    {
    107         $app =& App::getInstance();
    108         $db =& DB::getInstance();
     107        $app =& App::getInstance();
     108        $db =& DB::getInstance();
    109109
    110110        static $_db_tested = false;
     
    173173    public function getParam($param)
    174174    {
    175         $app =& App::getInstance();
     175        $app =& App::getInstance();
    176176
    177177        if (array_key_exists($param, $this->_params)) {
     
    195195    public function create($record_table, $record_key, $record_val, $title='', $notes='')
    196196    {
    197         $app =& App::getInstance();
    198         $db =& DB::getInstance();
     197        $app =& App::getInstance();
     198        $db =& DB::getInstance();
    199199
    200200        $this->initDB();
     
    256256    public function restore($version_id)
    257257    {
    258         $app =& App::getInstance();
    259         $db =& DB::getInstance();
     258        $app =& App::getInstance();
     259        $db =& DB::getInstance();
    260260
    261261        $this->initDB();
     
    317317    public function deleteOld($record_table, $record_key, $record_val)
    318318    {
    319         $db =& DB::getInstance();
     319        $db =& DB::getInstance();
    320320
    321321        $this->initDB();
     
    384384    public function getList($record_table, $record_key, $record_val)
    385385    {
    386         $db =& DB::getInstance();
     386        $db =& DB::getInstance();
    387387
    388388        $this->initDB();
     
    421421    public function getVerson($version_id)
    422422    {
    423         $db =& DB::getInstance();
     423        $db =& DB::getInstance();
    424424
    425425        $this->initDB();
     
    442442    public function getData($version_id)
    443443    {
    444         $db =& DB::getInstance();
     444        $db =& DB::getInstance();
    445445
    446446        $this->initDB();
     
    468468    public function getCurrent($record_table, $record_key, $record_val)
    469469    {
    470         $db =& DB::getInstance();
     470        $db =& DB::getInstance();
    471471
    472472        $this->initDB();
Note: See TracChangeset for help on using the changeset viewer.