Skip to content

Conversation

rldhont
Copy link
Collaborator

@rldhont rldhont commented Jul 6, 2025

The lizmapProject class now extends \Lizmap\Project\Project.

@rldhont rldhont added php Pull requests that update Php code backport release_3_10 labels Jul 6, 2025
@github-actions github-actions bot added this to the 3.11.0 milestone Jul 6, 2025
@rldhont rldhont requested review from laurentj and Gustry July 7, 2025 06:23
return $this->proj->checkAclByUser($login);
}
}
class lizmapProject extends Project {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as in #5917, should we remove this code instead ?

Without a removing of the code in core LWC, the removing in other LWC modules will "likely" never happen because always postponed...

This code is deprecated since august 2020, so 5 years old.

Otherwise, we keep the code as it is with all "legacy" methods existing, but having a jLog deprecated warning on every call, so it will force modules to update "quickly" because of the noise in logging.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Here we can drop this class, because lizmap::getProject already returns \Lizmap\Project\Project

The lizmapProject class now extends \Lizmap\Project\Project.
@rldhont rldhont force-pushed the php-lizmapproject-deprecation branch from d48fea8 to 95297a9 Compare July 31, 2025 15:32
Copy link

github-actions bot commented Oct 1, 2025

The Lizmap project highly values your contribution and would love to see this work merged! Unfortunately this PR has not had any activity in the last 2 months and is being automatically marked as "stale".
If there is no further activity on this pull request, it will be closed in two weeks.

@github-actions github-actions bot added the stale This ticket might be closed soon label Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release_3_10 php Pull requests that update Php code stale This ticket might be closed soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants