Don't use ts for exceptions
authorMatthew Wire <mjw@mjwconsult.co.uk>
Mon, 7 Aug 2017 15:20:08 +0000 (16:20 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Mon, 7 Aug 2017 15:20:08 +0000 (16:20 +0100)
api/v3/Case.php

index d923ebd2f63e0a32766240e68a4cef8cdc1d2183..5f9d4733bfb5d17d2a3cb0b8a217114222513554 100644 (file)
@@ -82,7 +82,7 @@ function civicrm_api3_case_create($params) {
     }
 
     if (array_key_exists('creator_id', $params)) {
-      throw new API_Exception(ts('You cannot update creator id'));
+      throw new API_Exception('You cannot update creator id');
     }
 
     $mergedCaseId = $origContactIds = array();