}
public static function checkFeedOutput( $type ) {
- global $wgFeed, $wgOut, $wgFeedClasses;
+ global $wgFeed, $wgFeedClasses;
if ( !$wgFeed ) {
global $wgOut;
* Constructor
*/
function __construct($server = false, $user = false, $password = false, $dbName = false, $failFunction = false, $flags = 0) {
- global $wgOut,$wgSQLiteDataDir, $wgSQLiteDataDirMode;
+ global $wgSQLiteDataDir, $wgSQLiteDataDirMode;
if ("$wgSQLiteDataDir" == '') $wgSQLiteDataDir = dirname($_SERVER['DOCUMENT_ROOT']).'/data';
if (!is_dir($wgSQLiteDataDir)) wfMkdirParents( $wgSQLiteDataDir, $wgSQLiteDataDirMode );
$this->mFailFunction = $failFunction;