Task #72022

Remove class loading fallback in cObject

Added by Benni Mack almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
composer
Target version:
-
Start date:
2015-12-02
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Remove cObj->isClassAvailable() as this class was
introduced in TYPO3 4.3 before autoloading was there.

Now, with TYPO3 CMS 7, autoloading is completely done
via spl_autoload_register and class_exists() does the
autoloading automatically, both in composer-mode and
non-composer-mode.

The method is therefore removed as the fallback is
pre-historic and a simple class_exists() check is added.

Associated revisions

Revision d289ceef (diff)
Added by Benni Mack almost 4 years ago

[!!!][TASK] Remove class loading fallback in cObject

Remove cObj->isClassAvailable() as this class was
introduced in TYPO3 4.3 before autoloading was there.

Now, with TYPO3 CMS 7, autoloading is completely done
via spl_autoload_register and class_exists() does the
autoloading automatically, both in composer-mode and
non-composer-mode.

The method is therefore removed as the fallback is
pre-historic and a simple class_exists() check is added.

Resolves: #72022
Releases: master
Change-Id: I92eef8dee6277bcec63403dcf04e12955cb669f2
Reviewed-on: https://review.typo3.org/45085
Reviewed-by: Markus Klein <>
Tested-by: Markus Klein <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45085

#2 Updated by Gerrit Code Review almost 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45085

#3 Updated by Gerrit Code Review almost 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45085

#4 Updated by Gerrit Code Review almost 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45085

#5 Updated by Gerrit Code Review almost 4 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45085

#6 Updated by Gerrit Code Review almost 4 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/45085

#7 Updated by Benni Mack almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#8 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF