R
ragtek
Guest
Is the xf_ table prefix reserved for xenforo?
I'm working on my db generator and i've found the isApplicationTable method in the install model
That's only used for the table deletion while the installation, right?
So if i have a add-on, which added a table xf_foobar, the table will be deleted too, if it's not having the xf_ prefix it won't be deleted.
Isn't it better to use then xf_ also for add-ons to be sure that the tables will be deleted too?
What's the official response here?
I'm working on my db generator and i've found the isApplicationTable method in the install model
PHP:
public function isApplicationTable($table)
{
return (substr($table, 0, 3) == 'xf_');
}
That's only used for the table deletion while the installation, right?
So if i have a add-on, which added a table xf_foobar, the table will be deleted too, if it's not having the xf_ prefix it won't be deleted.
Isn't it better to use then xf_ also for add-ons to be sure that the tables will be deleted too?
What's the official response here?