Skip to content

Commit

Permalink
Remove check for old Help class.
Browse files Browse the repository at this point in the history
  • Loading branch information
redscar committed Oct 24, 2024
1 parent 10c3ab5 commit 52a79ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tribe/Log/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function register_script() {
* @return boolean True if the assets should be enqueued.
*/
public function should_enqueue_assets() {
return Tribe__Admin__Help_Page::instance()->is_current_page() || tribe( Troubleshooting::class )->is_current_page();
return tribe( Troubleshooting::class )->is_current_page();
}

/**
Expand Down

0 comments on commit 52a79ec

Please sign in to comment.