Project

General

Profile

Actions

Bug #20057

closed

Mark t3lib_div::makeInstanceClassName() as deprecated

Added by Ingo Renner almost 16 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-02-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

t3lib_div::makeInstanceClassName() allows to circumvent the check for t3lib_Singleton in t3lib_div::makeInstance(). t3lib_div::makeInstance() is now capable of passing arguments to constructors (see #20029).

Thus t3lib_div::makeInstanceClassName() is not needed anymore and should be avoided due to the missing check for t3lib_Singleton.

with the patch everything should work as before.

(issue imported from #M10497)


Files

deprecate_makeInstanceClassName.diff (10.7 KB) deprecate_makeInstanceClassName.diff Administrator Admin, 2009-02-19 14:24

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20029: t3lib_div::makeInstanceClassName() allows to bypass checks for t3lib_SingletonClosedIngo Renner2009-02-16

Actions
Actions

Also available in: Atom PDF