*/
public $exportCustomValues = false;
- /**
- * maximum package name length
- * TODO: still necessary?
- * @var integer
- */
- public $packageNameLength = 0;
-
/**
* @see wcf\page\IPage::readParameters()
*/
'languages' => LanguageFactory::getInstance()->getLanguages(),
'selectedPackages' => $this->selectedPackages,
'packages' => $this->packages,
- 'selectAllPackages' => true,
- 'packageNameLength' => $this->packageNameLength
+ 'selectAllPackages' => true
));
}
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute(array($this->languageID));
while ($row = $statement->fetchArray()) {
- $row['packageNameLength'] = StringUtil::length($row['packageName']);
$this->packages[] = new Package(null, $row);
- if ($row['packageNameLength'] > $this->packageNameLength) {
- $this->packageNameLength = $row['packageNameLength'];
- }
}
}
}