From b6a056305ad04c220eae451037d3c885bf7f1e76 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 21 Oct 2008 11:07:48 +0000 Subject: Added safety rail to prevent disabling/deleting of currently viewed site. git-svn-id: https://code.elgg.org/elgg/trunk@2287 36083f99-b078-4883-b0ff-0f9b5a30f544 --- languages/en.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'languages') diff --git a/languages/en.php b/languages/en.php index 537c6e0a2..655d7285d 100644 --- a/languages/en.php +++ b/languages/en.php @@ -158,6 +158,8 @@ 'SecurityException:authenticationfailed' => "User could not be authenticated", 'CronException:unknownperiod' => '%s is not a recognised period.', + + 'SecurityException:deletedisablecurrentsite' => 'You can not delete or disable the site you are currently viewing!', /** * API */ -- cgit v1.2.3