mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Remove some deprecated methods calls
This commit is contained in:
@@ -252,9 +252,9 @@ class module_console_systemExport extends Command
|
||||
$dest_file = new \SplFileInfo($outfile);
|
||||
|
||||
touch(
|
||||
$dest_file->getPathname()
|
||||
, $record->get_creation_date()->format('U')
|
||||
, $record->get_modification_date()->format('U')
|
||||
$dest_file->getPathname(),
|
||||
$record->getCreated()->format('U'),
|
||||
$record->getUpdated()->format('U')
|
||||
);
|
||||
|
||||
switch (strtolower($caption)) {
|
||||
|
@@ -516,7 +516,7 @@ class module_report_nav extends module_report
|
||||
'photo' =>
|
||||
"<img style='width:" . $x->get_width() . "px;height:" . $x->get_height() . "px;'
|
||||
src='" . (string) $x->get_url() . "'>"
|
||||
, 'record_id' => $record->get_record_id()
|
||||
, 'record_id' => $record->getRecordId()
|
||||
, 'date' => $this->app['date-formatter']->getPrettyString($document->get_creation_date())
|
||||
, 'type' => $document->get_mime()
|
||||
, 'titre' => $record->get_title()
|
||||
|
Reference in New Issue
Block a user