In the USER-ARTICLE app, I set the UPDATES ARTICLE to NO. But when ADMIN updates the article from the backend, a stream is generated every time.
public function onStreamVerbExclude( &$exclude )
public function onStreamVerbExclude( &$exclude )
{
// Get app params
$params = $this->getParams();
$excludeVerb = false;
if(! $params->get('stream_create', true)) {
$excludeVerb[] = 'create';
}
if (! $params->get('stream_update', true)) {
$excludeVerb[] = 'update';
}
if (! $params->get('stream_read', true)) {
$excludeVerb[] = 'read';
}
if ($excludeVerb !== false) {
$exclude['article'] = $excludeVerb;
}
}