mark0263 on develop
cache namespace support tag / k… (compare)
mark0263 on develop
Removed depreciated functions M… (compare)
mark0263 on develop
Support dbResult method in pdo … (compare)
mark0263 on develop
fall back support for fetchAll PDO driver Support for PDO driver and 5 more (compare)
mark0263 on glfusion_1.7_lts
German Update (#328) German Up… (compare)
mark0263 on develop
German Update (#328) German Up… (compare)
mark0263 on develop
Simplify count (compare)
mark0263 on glfusion_1.7_lts
Set version to 1.7.3 (compare)
mark0263 on develop
3rd time is the charm - do not … (compare)
mark0263 on develop
Set proper version number (compare)
mark0263 on develop
Fixed check (compare)
mark0263 on develop
dvlpupdate can be run multiple … (compare)
mark0263 on glfusion_1.7_lts
dvlpupdate for 173 (compare)
mark0263 on glfusion_1.7_lts
Change CSS badges to use colors… (compare)
mark0263 on develop
Change CSS badges to use colors… (compare)
foreach ($items_to_del as $item) {
PLG_itemDeleted($item, 'forum');
}
function ff_deleteForum($id) {
global $_TABLES;
// pull all topic ids for the forum being deleted.
DB_query("SET group_concat_max_len = 8196");
$ids = DB_getItem($_TABLES['ff_topic'],'GROUP_CONCAT(id SEPARATOR \',\')', 'forum='.(int) $id);
// Delete the likes. This must be done first as it relies on the topics
// still existing in the table
Forum\Like::deleteForum($id);
DB_query("DELETE FROM {$_TABLES['ff_forums']} WHERE forum_id=".(int) $id);
DB_query("DELETE FROM {$_TABLES['ff_topic']} WHERE forum=".(int) $id);
DB_query("DELETE FROM {$_TABLES['ff_moderators']} WHERE mod_forum=".(int) $id);
DB_query("DELETE FROM {$_TABLES['subscriptions']} WHERE type='forum' AND category=".(int)$id);
PLG_itemDeleted($id, 'forum', $ids);
return true;
}
SHOW VARIABLES LIKE 'max_allowed_packet';
to see the local size limit.
function plugin_itemdeleted_searcher($id, $type, $children='')
{
if (!empty($children)) {
$id = explode(',', $children);
}
\Searcher\Indexer::RemoveDoc($type, $id);
}