Browse Source

Console module controller recreate cp search on remove

master
Egorka 6 years ago
parent
commit
315e1fe464
  1. 5
      console/controllers/ModuleController.php

5
console/controllers/ModuleController.php

@ -145,6 +145,11 @@ class ModuleController extends Controller
} }
echo ConsoleColor::log('clean', 'white') . PHP_EOL; echo ConsoleColor::log('clean', 'white') . PHP_EOL;
// regenerate cp global search
echo ConsoleColor::log('Search database: ', 'normal');
SearchPerformance::init();
echo ConsoleColor::log('complete', 'white') . PHP_EOL;
echo ConsoleColor::log('Module ' . $name . ' successfully deleted', 'light_green') . PHP_EOL; echo ConsoleColor::log('Module ' . $name . ' successfully deleted', 'light_green') . PHP_EOL;
} }

Loading…
Cancel
Save