Skip to content

Commit

Permalink
Merge pull request #14510 from totten/master-relax-get-to-it
Browse files Browse the repository at this point in the history
Civi\Angular\ChangeSet - Relax debug-mode consistency check
  • Loading branch information
eileenmcnaughton authored Jun 13, 2019
2 parents fd9172a + 69b7411 commit 5b1930a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Civi/Angular/ChangeSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ private static function applyHtmlFilters($changeSets, $strings) {
if (preg_match($filter['regex'], $path)) {
if ($doc === NULL) {
$doc = \phpQuery::newDocument($html, 'text/html');
if (\CRM_Core_Config::singleton()->debug && !$coder->checkConsistentHtml($html)) {
throw new \CRM_Core_Exception("Cannot process $path: inconsistent markup. Use check-angular.php to investigate.");
}
}
call_user_func($filter['callback'], $doc, $path);
}
Expand Down

0 comments on commit 5b1930a

Please sign in to comment.