Deprecate the $_PROFILER global var#10845
Deprecate the $_PROFILER global var#10845rdeutz merged 1 commit intojoomla:stagingfrom mbabker:deprecate-global-profiler
Conversation
|
tested with success but notice that _PROFILER also exists in https://github.com/joomla/joomla-cms/blob/staging/components/com_finder/views/search/view.html.php Shouldnt it be changed here too? |
|
Yep. Didn't find that one as my search was only for the variable and not a On Thursday, June 16, 2016, andrepereiradasilva notifications@github.com
|
|
I have tested this item ✅ successfully on 0a77c11 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10845. |
1 similar comment
|
I have tested this item ✅ successfully on 0a77c11 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10845. |
|
rtc This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10845. |
* re-arrayhelper-min: (2467 commits) Minimize JArrayHelper methods `toInteger`, `pivot`, `arrayUnique` by using Joomla\Utilities\ArrayHelper internally. Leaving (reverting from joomla#7782) other four methods as is for b/c reasons as mentioned in joomla#8455. remove platform include (joomla#11615) [GitHub Templates] Make headings bigger (joomla#11607) [com_contact] Make ACL core.edit.own work (PR for 11466) (joomla#11503) Small review on docs & code structure in JModelLegacy library classes (joomla#11057) Obviously, this should be an array. (joomla#11610) Don't manually import JPlatform anymore (joomla#10841) Parse preprocess rules from component routers (joomla#8986) Add the correct exception after 11593 merge (was waiting for that merrge) (joomla#11606) Add missing clean line after joomla#9277 (joomla#11605) Deprecate the _PROFILER global var (joomla#10845) Spelling errors (joomla#11604) Moved travis javascript bash file to build/travis like joomla#11600 (joomla#11603) Regression: Fix edit check in backend articles manager, always denying edit after soft deny (joomla#11511) [com_plugins] User not allowed to core.manage? Use 403 php custom exception (instead of a 404 JError) (joomla#11593) [com_newsfeeds] Make ACL core.edit.own work (PR for 11466) (joomla#11502) $result-variable-undefined-given-default-value (joomla#9277) com_banners use exceptions. and not allowed is a 403 (joomla#11418) Frontend & plugins using the autoloader (joomla#10882) New version of PR 6788 (JText::_() Optimizations) (joomla#11235) ...
Summary of Changes
Deprecates the
$_PROFILERglobal variable. The profiler should be accessed via theJProfilerAPI. Replaced existing uses of the global variable with locally scoped versions.Testing Instructions
While in debug mode, the application profiler should continue to work normally.