mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removing deprecated Core.php functions
This commit is contained in:
parent
b5ee9f9cbe
commit
b6870add90
@ -304,19 +304,6 @@ Debug::loadErrorHandlers();
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// HELPER FUNCTIONS
|
||||
|
||||
function getSysTempDir() {
|
||||
Deprecation::notice(3.0, 'Please use PHP function get_sys_temp_dir() instead.');
|
||||
return sys_get_temp_dir();
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0 Please use {@link SS_ClassManifest::getItemPath()}.
|
||||
*/
|
||||
function getClassFile($className) {
|
||||
Deprecation::notice('3.0', 'Use SS_ClassManifest::getItemPath() instead.');
|
||||
return SS_ClassLoader::instance()->getManifest()->getItemPath($className);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a class instance by the "singleton" design pattern.
|
||||
* It will always return the same instance for this class,
|
||||
|
Loading…
Reference in New Issue
Block a user