Add abstract cache layer

This commit is contained in:
Frederic Guillot
2015-09-20 12:38:35 -04:00
parent 8079b5af64
commit fe57edd9e8
10 changed files with 383 additions and 93 deletions

View File

@@ -99,7 +99,7 @@ class User extends \Core\Base
return true;
}
return $this->memoryCache->proxy('acl', 'handleProjectAdminPermissions', $project_id);
return $this->memoryCache->proxy($this->container['acl'], 'handleProjectAdminPermissions', $project_id);
}
/**
@@ -114,7 +114,7 @@ class User extends \Core\Base
return true;
}
return $this->memoryCache->proxy('acl', 'handleProjectManagerPermissions', $project_id);
return $this->memoryCache->proxy($this->container['acl'], 'handleProjectManagerPermissions', $project_id);
}
/**