Skip to content

Commit 1c36ebd

Browse files
committed
chore: Remove unused imports
1 parent 6ffbb85 commit 1c36ebd

14 files changed

Lines changed: 13 additions & 14 deletions

File tree

templates/dashboard/account/billing/order-history.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use TUTOR\Dashboard;
2323
use Tutor\Ecommerce\Ecommerce;
2424
use TUTOR\Input;
25-
use Tutor\Helpers\UrlHelper;
2625

2726
$monetize_by = tutor_utils()->get_option( 'monetize_by' );
2827
if ( 'free' === $monetize_by ) {

templates/dashboard/account/reviews.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Tutor\Components\ConfirmationModal;
1919
use Tutor\Components\EmptyState;
2020
use Tutor\Components\Pagination;
21-
use Tutor\Helpers\UrlHelper;
2221

2322
$item_per_page = tutor_utils()->get_option( 'pagination_per_page', 20 );
2423
$current_page = max( 1, Input::get( 'current_page', 0, Input::TYPE_INT ) );

templates/dashboard/announcements.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
use Tutor\Components\Constants\Variant;
3131
use Tutor\Components\Constants\Color;
3232
use Tutor\Components\SvgIcon;
33-
use Tutor\Helpers\UrlHelper;
3433

3534
$limit = (int) tutor_utils()->get_option( 'pagination_per_page', 10 );
3635
$current_page = max( 1, Input::get( 'current_page', 1, Input::TYPE_INT ) );

templates/dashboard/courses.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Tutor\Components\EmptyState;
1919
use Tutor\Components\Nav;
2020
use TUTOR\Student;
21-
use Tutor\Helpers\UrlHelper;
2221

2322
// Pagination.
2423
$courses_per_page = tutor_utils()->get_option( 'pagination_per_page', 10 );

templates/dashboard/discussions/comment-list.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Tutor\Components\Sorting;
1818
use TUTOR\Lesson;
1919
use TUTOR\User;
20-
use Tutor\Helpers\UrlHelper;
2120

2221
$is_instructor = tutor_utils()->is_instructor( null, true );
2322

templates/dashboard/discussions/qna-list.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Tutor\Components\Sorting;
1919
use TUTOR\Input;
2020
use TUTOR\User;
21-
use Tutor\Helpers\UrlHelper;
2221

2322
$user_id = get_current_user_id();
2423
$is_instructor = tutor_utils()->is_instructor( $user_id, true );

templates/dashboard/my-quiz-attempts.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
use TUTOR\Input;
2323
use Tutor\Models\QuizModel;
2424
use TUTOR\Quiz_Attempts_List;
25-
use Tutor\Helpers\UrlHelper;
2625

2726
if ( Input::has( 'attempt_id', Input::GET_REQUEST ) ) {
2827
// Load single attempt details if ID provided.

templates/dashboard/quiz-attempts.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
use Tutor\Models\QuizModel;
2828
use TUTOR\Quiz_Attempts_List;
2929
use TUTOR\User;
30-
use Tutor\Helpers\UrlHelper;
3130

3231
if ( Input::has( 'attempt_id', Input::GET_REQUEST ) ) {
3332
// Load single attempt details if ID provided.

templates/dashboard/quiz-attempts/quiz-reviews.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use TUTOR\Input;
1515
use Tutor\Components\EmptyState;
1616
use Tutor\Models\QuizModel;
17-
use Tutor\Helpers\UrlHelper;
1817

1918
$attempt_id = Input::get( 'attempt_id', 0, Input::TYPE_INT );
2019
$attempt_data = tutor_utils()->get_attempt( $attempt_id );

templates/dashboard/wishlist.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use TUTOR\Input;
1515
use Tutor\Components\Pagination;
1616
use Tutor\Components\EmptyState;
17-
use Tutor\Helpers\UrlHelper;
1817

1918
global $post;
2019
$wishlist_per_page = (int) tutor_utils()->get_option( 'pagination_per_page', 10 );

0 commit comments

Comments
 (0)