/** * Rebuild everything we need after we changed the bwc list */ protected function rebuild() { $this->cleanCaches(); $mi = new ModuleInstaller(); $mi->silent = true; $mi->rebuild_modules(); }