4e15f4cf5f86d0d60d73eae1472c7254c866fca1
[yaffs-website] / vendor / drush / drush / includes / site_install.inc
1 <?php
2
3 /**
4  * A sneaky implementation of hook_module_implements_alter().
5  *
6  * site:install includes this file in order to not run any cron hooks during install.
7  * That's a bad idea.
8  *
9  * @param $implementations
10  * @param $hook
11  */
12 function system_module_implements_alter(&$implementations, $hook) {
13   if ($hook == 'cron') {
14     $implementations = [];
15   }
16 }