We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit e7a38f79 authored by Evan Prodromou's avatar Evan Prodromou

Use this for scope check

parent 3619f9fa
......@@ -2366,9 +2366,9 @@ class Notice extends Managed_DataObject
if ($result === false) {
$bResult = false;
if (Event::handle('StartNoticeInScope', array($notice, $profile, &$bResult))) {
if (Event::handle('StartNoticeInScope', array($this, $profile, &$bResult))) {
$bResult = $this->_inScope($profile);
Event::handle('EndNoticeInScope', array($notice, $profile, &$bResult));
Event::handle('EndNoticeInScope', array($this, $profile, &$bResult));
$result = ($bResult) ? 1 : 0;
self::cacheSet($keypart, $result, 0, 300);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment