Commit a30fc93a authored by Anthony Cathala's avatar Anthony Cathala Committed by Sadashiv Dalvi
Browse files

Issue #3284822 by Thony: Drupal\Core\Database\Connection::escapeLike =>...

Issue #3284822 by Thony: Drupal\Core\Database\Connection::escapeLike => Non-static method called statically
parent 43cb7cf1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,8 +23,8 @@ class Gauth extends SqlBase {
    return $this->select('gauth_accounts', 'ga')
      ->fields('ga')
      ->condition('ga.id', 0, '>')
      ->condition('ga.name', Connection::escapeLike('Gauth Login ') . '%', 'NOT LIKE')
      ->condition('ga.name', '%' . Connection::escapeLike('|') . '%', 'NOT LIKE');
      ->condition('ga.name', $this->database->escapeLike('Gauth Login ') . '%', 'NOT LIKE')
      ->condition('ga.name', '%' . $this->database->escapeLike('|') . '%', 'NOT LIKE');
  }

  /**