Compare commits

...

2 Commits

1 changed files with 7 additions and 6 deletions

View File

@ -58,14 +58,15 @@ class Netsync extends Plugin
if (count($diff) > 0) {
$wrapper["networks"] = array_values($remote_enabled);
$wrapper->save();
}
foreach ($this->context->getRPC()->getPlugins() as $plugin) {
/**
* @var IPluggable $plugin
*/
foreach ($this->context->getRPC()->getPlugins() as $plugin) {
/**
* @var IPluggable $plugin
*/
$plugin->onSync();
$plugin->onSync();
}
}
return $diff;
}
}