2015-02-24 22:02:03 -08:00
|
|
|
<?php namespace Cms\Classes;
|
|
|
|
|
2017-09-27 22:12:45 -06:00
|
|
|
use System\Classes\MediaLibrary as SystemMediaLibrary;
|
2015-02-24 22:02:03 -08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Provides abstraction level for the Media Library operations.
|
|
|
|
* Implements the library caching features and security checks.
|
|
|
|
*
|
|
|
|
* @package october\cms
|
|
|
|
* @author Alexey Bobkov, Samuel Georges
|
2017-09-27 22:12:45 -06:00
|
|
|
* @deprecated Use System\Classes\MediaLibrary. Remove if year >= 2020.
|
2015-02-24 22:02:03 -08:00
|
|
|
*/
|
2017-09-27 22:12:45 -06:00
|
|
|
class MediaLibrary extends SystemMediaLibrary
|
2015-02-24 22:02:03 -08:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Initialize this singleton.
|
|
|
|
*/
|
|
|
|
protected function init()
|
|
|
|
{
|
2018-03-22 19:55:13 +03:00
|
|
|
traceLog('Class ' . __CLASS__ . ' has been deprecated, use ' . SystemMediaLibrary::class . ' instead.');
|
2017-09-27 22:12:45 -06:00
|
|
|
parent::init();
|
2016-02-29 21:50:07 -08:00
|
|
|
}
|
2015-05-03 16:10:30 +02:00
|
|
|
}
|