mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Removed permission system from models
This commit is contained in:
@@ -17,8 +17,6 @@ class Extensions_model extends DB_Model
|
||||
*/
|
||||
public function getDependencies($dependencies)
|
||||
{
|
||||
if (isError($ent = $this->isEntitled($this->dbTable, PermissionLib::SELECT_RIGHT, FHC_NORIGHT, FHC_MODEL_ERROR))) return $ent;
|
||||
|
||||
return $this->execQuery(
|
||||
'SELECT *
|
||||
FROM '.$this->dbTable.'
|
||||
@@ -49,8 +47,6 @@ class Extensions_model extends DB_Model
|
||||
*/
|
||||
public function executeQuery($sql)
|
||||
{
|
||||
if (isError($ent = $this->isEntitled($this->dbTable, PermissionLib::SELECT_RIGHT, FHC_NORIGHT, FHC_MODEL_ERROR))) return $ent;
|
||||
|
||||
return $this->execQuery($sql);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user