allow non install/update cli scripts to fail with message if upgrade is needed for site

Bug #1739687 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon

Bug Description

Currently if you try to run a cli, eg sync_langpacks.php, but the site is needing install/upgrade it exits out but does not give any info as to why.

Need to give an exit message

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8374

Changed in mahara:
status: New → In Progress
importance: Undecided → Medium
milestone: none → 18.04.0
assignee: nobody → Robert Lyon (robertl-9)
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8374
Committed: https://git.mahara.org/mahara/mahara/commit/e3b16ea96d608c32e1b599b2b828da871cefa4e6
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit e3b16ea96d608c32e1b599b2b828da871cefa4e6
Author: Robert Lyon <email address hidden>
Date: Fri Dec 22 12:02:25 2017 +1300

Bug 1739687: Allow non install/upgrade cli scripts to exit with message

If the site is needing install/upgrade or if the site is closed by admin

behatnotneeded

Change-Id: Ief7ebf264be7b7c3b677323f19e1468d7601d501
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.