Changeset 990

Show
Ignore:
Timestamp:
12/05/07 17:35:01 (1 year ago)
Author:
samtay
Message:

Added findRepoByUrl function to data model

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/appdb/system/application/models/applicationdb.php

    r986 r990  
    118118        $this->db->update('applications', array('defaultVersion' => $appVerID));  
    119119    } 
     120     
     121    function findRepoByUrl($repo) 
     122    { 
     123        $data = $this->db->getwhere('repository', array('repoUri' => $repo)); 
     124        return $data->row(); 
     125    } 
    120126} 
    121127?>