Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lizmap/modules/admin/install/upgrade_permalink.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
class adminModuleUpgrader_permalink extends jInstallerModule
{
public $targetVersions = array(
'3.10',
'3.10.0-rc.1',
'3.10.0',
Comment on lines +6 to +7
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'3.10.0-rc.1',
'3.10.0',
'3.10.0-pre',
'3.10.0-rc.2',
'3.10.0',

-rc.1 is already passed.
The actual is -pre
The futur is -rc.2 and .0

@laurentj are these target versions rights ?

);
public $date = '2026-05-13'; // original:'2023-01-06'
public $date = '2026-05-13';

public function install()
{
Expand Down
20 changes: 20 additions & 0 deletions lizmap/modules/lizmap/install/upgrade_permalink.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

class lizmapModuleUpgrader_permalink extends jInstallerModule
{
public $targetVersions = array(
'3.10.0-rc.1',
'3.10.0',
);
public $date = '2026-05-26';

public function install()
{
// Adding permalink table
if ($this->firstDbExec()) {
// Add permalink table
$this->useDbProfile('jauth');
$this->execSQLScript('sql/lizpermalink');
}
Comment on lines +13 to +18
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, you can merge it with admin/install/upgrade_permalink.php to keep only one upgrade_permalink.php file.

@laurentj What do you think about this?

}
}
Loading