projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7353869
)
CRM-12337 - Use civiExit instead of exit
author
Coleman Watts
<coleman@civicrm.org>
Tue, 26 Nov 2013 05:59:03 +0000
(21:59 -0800)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 26 Nov 2013 05:59:03 +0000
(21:59 -0800)
CRM/Admin/Page/AJAX.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Admin/Page/AJAX.php
b/CRM/Admin/Page/AJAX.php
index 4588d0c8a9789f969e66903bf3f2b4da6c577e93..bf1640bcc8e1aa340de3b3f3bd939ed10ae042af 100644
(file)
--- a/
CRM/Admin/Page/AJAX.php
+++ b/
CRM/Admin/Page/AJAX.php
@@
-48,7
+48,6
@@
class CRM_Admin_Page_AJAX {
if ($contactID) {
// Set headers to encourage browsers to cache for a long time
// If we want to refresh the menu we will send a different url
- // @see smarty_function_crmNavigationMenu()
$year = 60*60*24*364;
header('Expires: '.gmdate('D, d M Y H:i:s \G\M\T', time() + $year));
header('Content-Type: application/javascript');
@@
-60,7
+59,7
@@
class CRM_Admin_Page_AJAX {
$smarty->assign('navigation', $navigation);
print $smarty->fetch('CRM/common/Navigation.tpl');
}
-
e
xit();
+
CRM_Utils_System::civiE
xit();
}
/**