Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
conseilgouz committed Oct 2, 2023
1 parent 8611859 commit 68a6711
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions mod_cg_panorama.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<extension type="module" client="site" method="upgrade">
<name>CG Panorama</name>
<author>ConseilGouz</author>
<creationDate>2023-09-29</creationDate>
<creationDate>2023-10-02</creationDate>
<copyright>Copyright (C) 2023 ConseilGouz. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorEmail>pascal.leconte@conseilgouz.com</authorEmail>
Expand Down Expand Up @@ -98,7 +98,6 @@
</config>
<updateservers>
<server type="extension" name="Simple Panorama" priority="1">https://raw.githubusercontent.com/conseilgouz/updates_github/master/cg_panorama_update.xml</server>
</server>
</updateservers>

</extension>
4 changes: 2 additions & 2 deletions script.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ private function postinstall_cleanup() {
// CG Panorama is now on Github
$query = $db->getQuery(true)
->delete('#__update_sites')
->where($db->quoteName('location') . ' like "conseilgouz.com/updates/simple_panorama%"');
->where($db->quoteName('location') . ' like "%conseilgouz.com/updates/simple_panorama%"');
$db->setQuery($query);
$db->execute();
$query = $db->getQuery(true)
->delete('#__update_sites')
->where($db->quoteName('location') . ' like "conseilgouz.com/updates/cg_panorama%"');
->where($db->quoteName('location') . ' like "%conseilgouz.com/updates/cg_panorama%"');
$db->setQuery($query);
$db->execute();

Expand Down

0 comments on commit 68a6711

Please sign in to comment.