mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
The method loadWhole has been removed from model DB_Model.
The same functionality has given by calling the load method without parameters
This commit is contained in:
@@ -71,7 +71,7 @@ class dms extends Dms_model
|
||||
* @param dms_id
|
||||
* @param version optional
|
||||
*/
|
||||
public function load($dms_id, $version=null)
|
||||
public function load($dms_id = null, $version=null)
|
||||
{
|
||||
$qry = "SELECT tbl_dms.dms_id, * FROM campus.tbl_dms JOIN campus.tbl_dms_version USING(dms_id) WHERE dms_id=".$this->db_add_param($dms_id, FHC_INTEGER);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user