Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
close #702 Fixed: Adding Blog demo to live stores
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Apr 12, 2017
1 parent 563452b commit d3ff576
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions install/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -895,15 +895,6 @@
// Add Blog Post Url Alias
$this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET `query` = 'blog_post_id=" . (int)$blog_post_id . "', `keyword` = 'the-next-big-arastta-thing', `language_id` = '1'");

// Add Blog Menu
$this->db->query("INSERT INTO " . DB_PREFIX . "menu SET `sort_order` = '8', `columns` = '1', `menu_type` = 'blog_home', `status` = '1'");

$blog_menu_id = $this->db->getLastId();

$this->db->query("INSERT INTO " . DB_PREFIX . "menu_description SET `menu_id` = '" . (int)$blog_menu_id . "', `name` = 'Blog', `link` = '0', `language_id` = '1'");

$this->db->query("INSERT INTO " . DB_PREFIX . "menu_to_store SET `menu_id` = '" . (int)$blog_menu_id . "', `store_id` = '0'");

// Add Blog Home Url Alias
$this->db->query("INSERT INTO " . DB_PREFIX . "url_alias SET `query` = 'route=blog/home', `keyword` = 'blog', `language_id` = '1'");

Expand Down

0 comments on commit d3ff576

Please sign in to comment.