bug fix for #965
This commit is contained in:
parent
c39922d95d
commit
c98864733a
|
@ -299,7 +299,7 @@ function createPage($args) {
|
||||||
Theme::plugins('afterPageCreate');
|
Theme::plugins('afterPageCreate');
|
||||||
|
|
||||||
reindexCategories();
|
reindexCategories();
|
||||||
reindextags();
|
reindexTags();
|
||||||
|
|
||||||
// Add to syslog
|
// Add to syslog
|
||||||
$syslog->add(array(
|
$syslog->add(array(
|
||||||
|
@ -350,7 +350,7 @@ function editPage($args) {
|
||||||
Theme::plugins('afterPageModify');
|
Theme::plugins('afterPageModify');
|
||||||
|
|
||||||
reindexCategories();
|
reindexCategories();
|
||||||
reindextags();
|
reindexTags();
|
||||||
|
|
||||||
// Add to syslog
|
// Add to syslog
|
||||||
$syslog->add(array(
|
$syslog->add(array(
|
||||||
|
@ -374,7 +374,7 @@ function deletePage($key) {
|
||||||
Theme::plugins('afterPageDelete');
|
Theme::plugins('afterPageDelete');
|
||||||
|
|
||||||
reindexCategories();
|
reindexCategories();
|
||||||
reindextags();
|
reindexTags();
|
||||||
|
|
||||||
// Add to syslog
|
// Add to syslog
|
||||||
$syslog->add(array(
|
$syslog->add(array(
|
||||||
|
|
|
@ -156,7 +156,7 @@ EOF;
|
||||||
|
|
||||||
Theme::plugins('afterPageCreate');
|
Theme::plugins('afterPageCreate');
|
||||||
reindexCategories();
|
reindexCategories();
|
||||||
reindextags();
|
reindexTags();
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue