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

In administrator/components/com_weblinks/tmpl/weblinks/default.php:

  • $userId = $user->get('id'); is never used. (get() on the user object is deprecated since 4.3 and removed in 6.0 as well.)
  • $item->cat_link is built for every row with a Joomla 3 style URL (task=edit&type=other&cid[]=), but never used.

Both are removed.

Testing Instructions

Open Components → Weblinks in the backend. Sort, filter, edit and check items as usual.

Expected result

The list works 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