Issue Details (XML | Word | Printable)

Key: MDL-17776
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Petr Skoda
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Dehackify handling of CLI scripts

Created: 03/Jan/09 10:30 PM   Updated: 03/Jan/09 11:30 PM
Return to search
Component/s: General
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Relates
 

Participants: Petr Skoda
Security Level: None
Resolved date: 03/Jan/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
handling of CLI scripts is very chaotic at the moment - some of them abut FULLME=='cron', other pollute the codebase with tons of IFs, etc...

Solution:
* in setup.php define CLI_SCRIPT=true|false
* replace FULLME hacks with if (CLI_SCRIPT)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda made changes - 03/Jan/09 11:28 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Petr Skoda made changes - 03/Jan/09 11:30 PM
Link This issue has been marked as being related by MDL-17754 [ MDL-17754 ]