Prevent restore on production

hefox - October 27, 2009 - 19:01
Project:Database Scripts
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

It's been giving me worries that I might accidently restore pruduction.

So added in a check to see if $locked was set and returning early instead of restoring in that case.

Added in the $locked variable to my settings_db.php (that is unique to each sandbox).

Less worry :)

AttachmentSize
locked_restore.patch1.25 KB
 
 

Drupal is a registered trademark of Dries Buytaert.