Compare commits

..

No commits in common. "5979542f1ccbc06d2830ba33593e7e6774299b04" and "38ce622fdca69098419b158279914292b9c09681" have entirely different histories.

1 changed files with 6 additions and 7 deletions

View File

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