* Count assetlib if edition is max.

This commit is contained in:
daitingting
2022-09-30 03:21:09 +00:00
parent 245bba1eb7
commit 7ba36be668
+2 -1
View File
@@ -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;
}
/**