Change plugin to addon
change the use of plugin to addon where appropriate.
This commit is contained in:
@@ -759,10 +759,10 @@ class Post extends BaseObject
|
||||
$qc = $qcomment = null;
|
||||
|
||||
/*
|
||||
* Hmmm, code depending on the presence of a particular plugin?
|
||||
* Hmmm, code depending on the presence of a particular addon?
|
||||
* This should be better if done by a hook
|
||||
*/
|
||||
if (in_array('qcomment', $a->plugins)) {
|
||||
if (in_array('qcomment', $a->addons)) {
|
||||
$qc = ((local_user()) ? PConfig::get(local_user(), 'qcomment', 'words') : null);
|
||||
$qcomment = (($qc) ? explode("\n", $qc) : null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user