diff --git a/lib/upgradelib.php b/lib/upgradelib.php index 0121ef09d99..c6b4e9b09a0 100644 --- a/lib/upgradelib.php +++ b/lib/upgradelib.php @@ -1388,6 +1388,8 @@ function upgrade_plugin_mnet_functions($component) { list($type, $plugin) = explode('_', $component); $path = get_plugin_directory($type, $plugin); + $publishes = array(); + $subscribes = array(); if (file_exists($path . '/db/mnet.php')) { require_once($path . '/db/mnet.php'); // $publishes comes from this file }