Skip to content

Commit

Permalink
refactor: remove unnecessary comment in recentSubmissions method
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnsultan committed Jan 24, 2025
1 parent 6b9458e commit aea2d81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ public static function formCollections(int $form_id, $remap = false) : object
# recent submissions
public static function recentSubmissions(int $userId, int $limit=5) : object
{

# refactor: recent form submissions
# cols: formId, formName, submission:int, pending_review:int, last_submission
$spaces = Space::absoluteUserSpaces($userId);
return self::where(function ($query) use ($userId, $spaces) {
Expand Down

0 comments on commit aea2d81

Please sign in to comment.