mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Undo 'readding releaseurl' as it is deprecated.
This commit is contained in:
@@ -429,7 +429,6 @@ CREATE TABLE plugin (
|
|||||||
plugin_installflag tinyint(1) unsigned NOT NULL default '0',
|
plugin_installflag tinyint(1) unsigned NOT NULL default '0',
|
||||||
plugin_addons text NOT NULL,
|
plugin_addons text NOT NULL,
|
||||||
plugin_category varchar(100) NOT NULL default '',
|
plugin_category varchar(100) NOT NULL default '',
|
||||||
plugin_releaseUrl varchar(255) NOT NULL default '',
|
|
||||||
PRIMARY KEY (plugin_id),
|
PRIMARY KEY (plugin_id),
|
||||||
UNIQUE KEY plugin_path (plugin_path)
|
UNIQUE KEY plugin_path (plugin_path)
|
||||||
) ENGINE=MyISAM;
|
) ENGINE=MyISAM;
|
||||||
|
@@ -365,8 +365,8 @@ class e107plugin
|
|||||||
$pName = vartrue($plug_info['@attributes']['lan']) ? $plug_info['@attributes']['lan'] : $plug_info['@attributes']['name'] ;
|
$pName = vartrue($plug_info['@attributes']['lan']) ? $plug_info['@attributes']['lan'] : $plug_info['@attributes']['name'] ;
|
||||||
|
|
||||||
$_installed = ($plug_info['@attributes']['installRequired'] == 'true' || $plug_info['@attributes']['installRequired'] == 1 ? 0 : 1);
|
$_installed = ($plug_info['@attributes']['installRequired'] == 'true' || $plug_info['@attributes']['installRequired'] == 1 ? 0 : 1);
|
||||||
// XXX @Cameron - fixed PLUGIN table populate error due to the new releaseURL column, temporary fix - empty value
|
|
||||||
if (e107::getDb()->db_Insert("plugin", "0, '".$tp->toDB($pName, true)."', '".$tp->toDB($plug_info['@attributes']['version'], true)."', '".$tp->toDB($plugin_path, true)."',{$_installed}, '{$eplug_addons}', '".$this->manage_category($plug_info['category'])."', '' "))
|
if (e107::getDb()->db_Insert("plugin", "0, '".$tp->toDB($pName, true)."', '".$tp->toDB($plug_info['@attributes']['version'], true)."', '".$tp->toDB($plugin_path, true)."',{$_installed}, '{$eplug_addons}', '".$this->manage_category($plug_info['category'])."' "))
|
||||||
{
|
{
|
||||||
$mes->addDebug("Added <b>".$tp->toHTML($pName,false,"defs")."</b> to the plugin table.");
|
$mes->addDebug("Added <b>".$tp->toHTML($pName,false,"defs")."</b> to the plugin table.");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user