mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 17:19:56 +02:00
Issue #3291 - gSitemap upgrades to save table and table_id info for syncing on changes. (coming soon)
This commit is contained in:
@@ -31,8 +31,10 @@ class download_gsitemap
|
||||
foreach($data as $row)
|
||||
{
|
||||
$import[] = array(
|
||||
'id' => $row['download_category_id'],
|
||||
'table' => 'download_category',
|
||||
'name' => $row['download_category_name'],
|
||||
'url' => e107::url('download', 'category', $row, array('mode' => 'full' )),
|
||||
'url' => e107::url('download', 'category', $row, array('mode' => 'full' )),
|
||||
'type' => LAN_PLUGIN_DOWNLOAD_NAME
|
||||
);
|
||||
}
|
||||
@@ -41,9 +43,11 @@ class download_gsitemap
|
||||
foreach($data as $row)
|
||||
{
|
||||
$import[] = array(
|
||||
'name' => $row['download_name'],
|
||||
'url' => e107::url('download', 'item', $row, array('mode' => 'full' )),
|
||||
'type' => LAN_PLUGIN_DOWNLOAD_NAME
|
||||
'id' => $row['download_id'],
|
||||
'table' => 'download',
|
||||
'name' => $row['download_name'],
|
||||
'url' => e107::url('download', 'item', $row, array('mode' => 'full' )),
|
||||
'type' => LAN_PLUGIN_DOWNLOAD_NAME
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user