MDL-44990 logging: Capabilites removed from legacy and standard log.

This commit is contained in:
Simey Lameze 2014-04-17 11:46:25 +08:00
parent 127daca011
commit da223c11a5
8 changed files with 2 additions and 98 deletions

View file

@ -61,15 +61,4 @@ trait reader {
}
return $this->store;
}
/**
* If the current user can access current store or not.
*
* @param \context $context
*
* @return bool
*/
public function can_access(\context $context) {
return has_capability('logstore/' . $this->store . ':read', $context);
}
}