Set default for $wgExternalStores to empty array
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Fri, 22 Nov 2013 20:18:59 +0000 (21:18 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Fri, 22 Nov 2013 20:18:59 +0000 (21:18 +0100)
Set default for $wgExternalStores to empty array instead of false.
Having it at false, causes type inconsistency.

Change-Id: I9f9b6bef16bd56b5fe27ef30016006b502a63ade

includes/DefaultSettings.php

index 8e7e76e..6ecd032 100644 (file)
@@ -1798,7 +1798,7 @@ $wgCompressRevisions = false;
  *
  * CAUTION: Access to database might lead to code execution
  */
-$wgExternalStores = false;
+$wgExternalStores = array();
 
 /**
  * An array of external MySQL servers.