Skip to content

Commit

Permalink
Update pfs.functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex300 committed Mar 12, 2023
1 parent 057de9f commit 3caf7fb
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions modules/pfs/inc/pfs.functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,27 +615,3 @@ function cot_selectbox_folders($user, $skip, $check, $name = 'folderid')

return ($result);
}

/**
* Fetches user entry from DB
*
* @param int $id User ID
* @return array
*
* @deprecated
*/
function cot_userinfo($id)
{
global $db, $db_users;

$sql = $db->query("SELECT * FROM $db_users WHERE user_id=" . (int)$id);
if ($res = $sql->fetch())
{
return ($res);
}
else
{
$res['user_name'] = '?';
return ($res);
}
}

0 comments on commit 3caf7fb

Please sign in to comment.