Many updates as a result of updating lnapp; added SSL service order

This commit is contained in:
Deon George
2016-06-05 22:33:12 +10:00
parent 44769e3de7
commit 0c7fe830a3
25 changed files with 384 additions and 268 deletions

View File

@@ -55,7 +55,6 @@ abstract class ORM extends lnApp_ORM {
/**
* Determine if the account is authoised by the user
*/
// @todo This function shouldnt be here.
public function authorised(Model $o=NULL,Model_Account $ao=NULL,$aid='account_id') {
if (is_null($o))
$o = $this;
@@ -147,6 +146,13 @@ abstract class ORM extends lnApp_ORM {
return ORM::factory('Module',array('name'=>$this->_table_name));
}
/**
* Name value return for the record
*/
public function name() {
return sprintf('Unknown [%s]',$this->id);
}
/**
* Set the site ID attribute for each row update
*/