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

getQuickiconContent() calls $model->setState() and then checks if ($model). If the model could not be created the first call would already fail, so the check is dead code. getModel() always returns the model here. The check is removed and the docblock ("published articles") is corrected.

Testing Instructions

Enable the Weblinks quickicon plugin with "Show count" and open the control panel.

Expected result

The quickicon shows the number of published weblinks, 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