Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

plg_task_weblinks declares protected $app;. CMSPlugin auto-injects the application into a property with this name for legacy plugins (deprecated since 4.2). The plugin never uses $this->app; it uses $this->getApplication(), which the service provider sets. The property (and the then unused import) are removed.

Testing Instructions

Run a "Weblinks - Check links" task (backend Scheduled Tasks → Run Test, or php cli/joomla.php scheduler:run --id=<id>).

Expected result

The task runs as before.

Actual result

Same; code cleanup only.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment