News:

Wondering if this will always be free?  See why free is better.

Main Menu

Re: installed.list

Started by arm, October 04, 2008, 02:05:45 PM

Previous topic - Next topic

arm

BTW, SMF 2.0 Beta4 has a small bug - when it registering/installing a new mod and writing to the smf_log_packages table, it does`nt check whether mod with this name already registered so when you try to install one mod many times you get many identical rows in this table.

karlbenson


SleePy

Same names are ok.

The install process does check if a mod was already installed with that package id, but doesn't verify the name.


// Is it actually installed?
$request = $smcFunc['db_query']('', '
SELECT version, themes_installed, db_changes
FROM {db_prefix}log_packages
WHERE package_id = {string:current_package}
AND install_state = {int:installed}',
array(
'installed' => 1,
'current_package' => $packageInfo['id'],
)
);
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Advertisement: