Merge branch 'fix_readme' into 'master'

update readme for OpportunisticQM: array need to contain key/value pairs

according to the doc-block of addPlugin() the array should contain key/value pairs, see https://git.gnu.io/gnu/gnu-social/blob/master/lib/gnusocial.php#L46

I updated the readme for the OpportunisticQM plugin to reflect this.

See merge request !81
This commit is contained in:
mmn 2016-01-14 12:03:11 +00:00
commit 0781c2a7b9
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ time for 1 second since starting the Action processing. If you want to
change this (such as disabling, 0 seconds, or maybe running bigger
chunks, for like 4 seconds) you can do this, where 'n' is time in seconds.
addPlugin('OpportunisticQM', array('secs_per_action', n));
addPlugin('OpportunisticQM', array('secs_per_action' => n));
Add 'rel_to_pageload'=>false to the array if you want to run the queue
for a certain amount of seconds _despite_ maybe already having run that