[RSS Feed/News] Make import type configurable

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Class XF\Import\Data has an abstract method getImportType that returns the string to be used for import logs.

Specific data classes implement the method like this:
PHP:

Code:
public function getImportType()
{
    return 'thread';
}

This is fine, as long as one such data type does get used for only one source data type, if it does get used for multiple source data types this does not work as a unique relation source oldId => newID is required per data type.

In order...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom