Remove pass-by-ref as param not altered
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 2 Jun 2021 07:03:48 +0000 (19:03 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 2 Jun 2021 07:03:48 +0000 (19:03 +1200)
Civi/Core/SqlTriggers.php

index 609916eab43eb40ae1cdb76bc8479d0ce15c951b..6fdc3336b78ec8c03709cb2acfcf8f1eca792743 100644 (file)
@@ -60,7 +60,7 @@ class SqlTriggers {
    * @param string $onlyTableName
    *   the specific table requiring a rebuild; or NULL to rebuild all tables.
    */
-  public function createTriggers(&$info, $onlyTableName = NULL) {
+  public function createTriggers($info, $onlyTableName = NULL) {
     // Validate info array, should probably raise errors?
     if (is_array($info) == FALSE) {
       return;