Opened 19 years ago
Closed 19 years ago
#3956 closed enhancement (fixed)
Clean up vars.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.2 | Priority: | normal |
| Severity: | normal | Version: | 2.2 |
| Component: | Optimization | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
vars.php currently:
- Uses 0/1 for false/true. Mark noted in the source with a comment that "we should probably use true/false." 0 and 1 are a bit confusing.
- Does preg_match's that really don't need to be regular expressions. strpos() works much faster.
Just some speed ups.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Clean up of vars.php.