reverting r40662, as there is more PHP 5.3 code ($record_class::$variable) to fix

This commit is contained in:
Ralf Becker 2012-10-25 14:20:48 +00:00
parent 89991bc69f
commit 63d1624098

View File

@ -137,8 +137,7 @@ abstract class importexport_basic_import_csv implements importexport_iface_impor
// Record class name
$app = $_definition->application;
// RB: changed from static::$record_class to self::$record_class to still be able to support PHP 5.2, it seems not to be used anyway
$record_class = isset(self::$record_class) ? self::$record_class : "{$app}_egw_record";
$record_class = isset(static::$record_class) ? static::$record_class : "{$app}_egw_record";
// Needed for categories to work right
$GLOBALS['egw_info']['flags']['currentapp'] = $app;