Lines Matching refs:user
158 return static function (UserInterface $user) use ($timestamp): bool {
159 $registered_at = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_REGISTERED);
160 $logged_in_at = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_ACTIVE);
332 * @param User $user
336 public function delete(User $user): void
340 ->where('user_id', '=', $user->id())
345 ->where('user_id', '=', $user->id())
350 ->where('user_id', '=', $user->id())
356 ->where('user_id', '=', $user->id())
359 DB::table('block')->where('user_id', '=', $user->id())->delete();
360 DB::table('user_gedcom_setting')->where('user_id', '=', $user->id())->delete();
361 DB::table('user_setting')->where('user_id', '=', $user->id())->delete();
362 DB::table('message')->where('user_id', '=', $user->id())->delete();
363 DB::table('user')->where('user_id', '=', $user->id())->delete();
375 $user = Validator::attributes($request)->user();
379 } elseif ($user instanceof User) {