Index: branches/5.3.x/core/units/categories/cache_updater.php =================================================================== diff -u -N -r15483 -r16226 --- branches/5.3.x/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 15483) +++ branches/5.3.x/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 16226) @@ -1,6 +1,6 @@ Stack = Array(); } @@ -73,9 +76,15 @@ */ var $table = ''; - function clsCachedPermissions($CatId, $table_name) + /** + * Creates class instance. + * + * @param integer $cat_id Category ID. + * @param string $table_name Table name. + */ + public function __construct($cat_id, $table_name) { - $this->CatId = $CatId; + $this->CatId = $cat_id; $this->table = $table_name; } @@ -541,4 +550,4 @@ $this->SaveData(); } - } \ No newline at end of file + }