Permalink
Browse files

Don't activate entryproperties cache by default

  • Loading branch information...
onli committed Feb 11, 2019
1 parent 9826185 commit 15adc798e5ff8cb5beaf3cd48157937653012d7b
Showing with 3 additions and 3 deletions.
  1. +3 −3 plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php
@@ -19,7 +19,7 @@ function introspect(&$propbag)
$propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Garvin Hicking');
$propbag->add('version', '1.41.1');
$propbag->add('version', '1.41.2');
$propbag->add('requirements', array(
'serendipity' => '1.6',
'smarty' => '2.6.27',
@@ -111,7 +111,7 @@ function introspect_config_item($name, &$propbag)
$propbag->add('type', 'boolean');
$propbag->add('name', PLUGIN_EVENT_ENTRYPROPERTIES_CACHE);
$propbag->add('description', PLUGIN_EVENT_ENTRYPROPERTIES_CACHE_DESC);
$propbag->add('default', 'true');
$propbag->add('default', 'false');
break;
case 'sequence':
@@ -583,7 +583,7 @@ function event_hook($event, &$bag, &$eventData, $addData = null)
$hooks = &$bag->get('event_hooks');
if ($is_cache === null) {
$is_cache = serendipity_db_bool($this->get_config('cache', 'true'));
$is_cache = serendipity_db_bool($this->get_config('cache', 'false'));
$use_groups = serendipity_db_bool($this->get_config('use_groups'));
$use_users = serendipity_db_bool($this->get_config('use_users'));
$ext_joins = serendipity_db_bool($this->get_config('use_ext_joins'));

0 comments on commit 15adc79

Please sign in to comment.