mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Change plugin to addon
change the use of plugin to addon where appropriate.
This commit is contained in:
parent
3bad83f24e
commit
b86b04a81a
25 changed files with 164 additions and 164 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue