Remove some deprecated methods calls

This commit is contained in:
Benoît Burnichon
2016-03-06 23:05:55 +01:00
parent ba4274eb28
commit 6cdc9d7a31
77 changed files with 322 additions and 307 deletions

View File

@@ -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)) {

View File

@@ -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()