Project

General

Profile

« Previous | Next » 

Revision 1991

Added by darkviper about 11 years ago

fixed /news/Reorg::deleteAll() typofix
update ModuleReorgAbstract::__construct() set to final

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
21 Oct-2013 Build 1991 Manuela v.d.Decken(DarkViper)
15
# /news/Reorg::deleteAll() typofix
16
! ModuleReorgAbstract::__construct() set to final
14 17
19 Oct-2013 Build 1990 Manuela v.d.Decken(DarkViper)
15 18
+ /framework/ModuleReorgAbstract  provides the basics for modul depending reorganisation classes
16 19
! /modules/news/Reorg  now extends ModuleReorgAbstract
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1990');
54
if(!defined('REVISION')) define('REVISION', '1991');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/framework/ModuleReorgAbstract.php
58 58
 * constructor
59 59
 * @param int $bDetailedLog  can be LOG_EXTENDED or LOG_SHORT
60 60
 */
61
	public function __construct($bDetailedLog = self::LOG_SHORT) {
61
	final public function __construct($bDetailedLog = self::LOG_SHORT) {
62 62
		$this->bDetailedLog = (bool)($bDetailedLog & self::LOG_EXTENDED);
63 63
		$this->oDb          = WbDatabase::getInstance();
64 64
		$this->oReg         = WbAdaptor::getInstance();
branches/2.8.x/wb/modules/news/Reorg.php
83 83
		$aMatches = glob($this->sAccessFilesRoot . '*'.$this->oReg->PageExtension);
84 84
		if(is_array($aMatches))
85 85
		{
86
			foreach($aFileList as $sItem)
86
			foreach($aMatches as $sItem)
87 87
			{
88 88
			// sanitize itempath
89 89
				$sItem = str_replace('\\', '/', $sItem);

Also available in: Unified diff