* Count assetlib if edition is max.
This commit is contained in:
@@ -951,7 +951,8 @@ class customModel extends model
|
||||
*/
|
||||
public function hasAssetlibData()
|
||||
{
|
||||
return $this->dao->select('*')->from(TABLE_ASSETLIB)->where('deleted')->eq(0)->count();
|
||||
if($this->config->edition == 'max') return $this->dao->select('*')->from(TABLE_ASSETLIB)->where('deleted')->eq(0)->count();
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user