Skip to content
This repository
Browse code

BUGFIX #7018 This stops an infinite loop when Depreciation::notice is…

… called from set_dev_servers(). This doesn't stop people from setting $dev_servers directly (not that it is used in the core code anywhere).
  • Loading branch information...
commit 21d52d3852787a7d89ef7099d3c49cd18a614048 1 parent ee2f196
garethbfoster authored March 24, 2012

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  control/Director.php
4  control/Director.php
@@ -814,10 +814,6 @@ static function isDev($dontTouchDB = false) {
814 814
 		if(isset($_SESSION['isDev']) && $_SESSION['isDev']) $result = true;
815 815
 		if(self::$environment_type && self::$environment_type == 'dev') $result = true;
816 816
 
817  
-		if(!empty(Director::$dev_servers))  {
818  
-			Deprecation::notice('3.0', 'Director::$dev_servers doesn\'t work anymore');
819  
-		}
820  
-		
821 817
 		// Use ?isDev=1 to get development access on the live server
822 818
 		if(!$dontTouchDB && !$result && isset($_GET['isDev'])) {
823 819
 			if(Security::database_is_ready()) {

0 notes on commit 21d52d3

Please sign in to comment.
Something went wrong with that request. Please try again.