K

vBulletin 4: Attachment import is messed up

  • Thread starter Thread starter Kirby
  • Start date Start date
K

Kirby

Guest

XFI\Import\Importer\vBulletin4::getAttachmentsForFileDataIds

PHP:
Code:
protected function getAttachmentsForFileDataIds(array $fileDataIds, $contentIdKey = 'postid')
{
    $fileDataIds = $this->sourceDb->quote($fileDataIds);

    return $this->sourceDb->fetchAll("
        SELECT
            attachment.attachmentid, attachment.filename, attachment.userid,
            attachment.dateline, attachment.counter,
            attachment.contentid AS {$contentIdKey},
            filedata.filedataid...

Read more

Continue reading...
 
Similar threads Most view View more
Back
Top Bottom