Merge pull request #15600 from civicrm/5.19
[civicrm-core.git] / CRM / Core / Invoke.php
index 9f9a8b776b56d23b77fa2bc666be70836dccf9a8..bc9dad29b12b874bd87a6769a9a9d51ae158a634 100644 (file)
@@ -193,12 +193,6 @@ class CRM_Core_Invoke {
     $template->assign('formTpl', 'default');
 
     if ($item) {
-      // CRM-7656 - make sure we send a clean sanitized path to create printer friendly url
-      $printerFriendly = CRM_Utils_System::makeURL(
-          'snippet', FALSE, FALSE,
-          CRM_Utils_Array::value('path', $item)
-        ) . '2';
-      $template->assign('printerFriendly', $printerFriendly);
 
       if (!array_key_exists('page_callback', $item)) {
         CRM_Core_Error::debug('Bad item', $item);