diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-07 13:35:27 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-07 13:35:27 +0200 |
commit | c839d28f4230dce0c658338f267b821cc16490a2 (patch) | |
tree | 8b2905d1594c5fd90c621abff97bb1ff1cda33d1 /system/libraries/Profiler.php | |
parent | 2ba089ef2e8b0a569b80c822337a6f6f3e928df0 (diff) |
Remove some unnecessary function_exists() checks and some minor improvements
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r-- | system/libraries/Profiler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index aaac0c518..d96088c14 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -402,7 +402,7 @@ class CI_Profiler { ."\n" .'<legend style="color:#5a0099;"> '.$this->CI->lang->line('profiler_memory_usage')." </legend>\n" .'<div style="color:#5a0099;font-weight:normal;padding:4px 0 4px 0;">' - .((function_exists('memory_get_usage') && ($usage = memory_get_usage()) !== '') ? number_format($usage).' bytes' : $this->CI->lang->line('profiler_no_memory')) + .(($usage = memory_get_usage()) != '' ? number_format($usage).' bytes' : $this->CI->lang->line('profiler_no_memory')) .'</div></fieldset>'; } |