if ($num > 0)
{
$caller->info(__("Not deleting page, it has child pages!"));
- return;
+ return false;
}
$rcs = $caller->getRcs();
system("rm -rf ". escapeshellarg($rcs->spoolPath($dir)));
$barrel->compileTree();
$barrel->readTree();
+ return true;
}
if ($props['PID'])
{
$cache = $globals->plugins->readCache($this->barrel->pluginsCacheFile, $this->barrel->alias);
- $plugs_active = $globals->plugins->cacheGetActive($cache, $this->barrel->alias, $props['PID']);
+ $plugs_active = $globals->plugins->cachedActive($cache, $this->barrel->alias, $props['PID']);
foreach($plugs_active as $plugentry)
{
$plug_h = $globals->plugins->load($plugentry);