system - do reboot/shutdown only in 'production' mode
authorLadislav Slezak <lslezak@novell.com>
Thu, 13 Aug 2009 14:01:38 +0000 (16:01 +0200)
committerLadislav Slezak <lslezak@novell.com>
Thu, 13 Aug 2009 14:01:38 +0000 (16:01 +0200)
commit61a05cdc92bbadef1248298cea49ebd3f98979ed
tree10cebc4182972b94de1ec65747fc2e14e6b992b7
parent2a08502a47c5b7b1072fac1b4a4ffe665179e8d0
system - do reboot/shutdown only in 'production' mode

This prevents rebooting the system during development or from
a test suite.
plugins/system/app/models/system.rb