1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

More comments.

This commit is contained in:
CaMer0n
2012-11-07 03:55:08 +00:00
parent 47b19c677d
commit 6e5545187d

View File

@@ -50,6 +50,11 @@ class download_setup
{ {
/* /*
* Currently Installed version (prior to upgrade): $needed->current_plug['plugin_version']; * Currently Installed version (prior to upgrade): $needed->current_plug['plugin_version'];
* Add "IF" statements as needed, and other upgrade_x_y() methods as required.
* eg. if($needed->current_plug['plugin_version'] == '1.0')
* {
* $this->upgrade_from_1();
* }
*/ */
$sql = e107::getDb(); $sql = e107::getDb();
@@ -79,7 +84,7 @@ class download_setup
} }
} }
$qry = "SELECT * FROM #download_category WHERE download_category_icon !='' AND SUBSTRING(download_category_icon, 1, 3) != '{e_' LIMIT 2"; $qry = "SELECT * FROM #download_category WHERE download_category_icon !='' AND SUBSTRING(download_category_icon, 1, 3) != '{e_' ";
if($sql->db_Select_gen($qry)) if($sql->db_Select_gen($qry))
{ {
// Signal that an update is required. // Signal that an update is required.