function epub_install in Epub 7
Same name and namespace in other branches
- 6 epub.install \epub_install()
File
- ./
epub.install, line 2
Code
function epub_install() {
foreach (db_select('file_managed', 'fid')
->fields('fid', array(
'fid',
))
->execute()
->fetchCol() as $fid) {
$file = file_load($fid);
if (epub_reset_mimetype($file)) {
watchdog('epub', t('File @fid mimetype was reset.', array(
'@fid' => $fid,
)));
}
}
}