return true;
}
- function prepare($args)
+ function prepare(array $args=array())
{
parent::prepare($args);
$this->notices = $this->getNotices();
if ($cnt > 0) {
while ($notice->fetch()) {
- $notices[] = clone($notice);
+ // Check scope of notice to current profile (including guests)
+ if ($notice->isCurrentProfileInScope()) {
+ // Is in scope
+ $notices[] = clone($notice);
+ }
}
}
return null;
}
- function isReadOnly($args)
+ function isReadOnly(array $args=array())
{
return true;
}