Remove junk code

This commit is contained in:
hakasenyang
2016-12-11 04:27:36 +09:00
parent cbc8e9f7cd
commit bb32810f53
+1 -5
View File
@@ -90,12 +90,8 @@
*/
public function CheckUser($osuid, $mode)
{
$osuid = strtolower($osuid);
if ($osuid !== $this->OsuID && $osuid !== strtolower($this->RealID))
$this->ResetObject();
$this->ResetObject();
$this->SelectMode($mode);
// Transfer osu! ID to Num
$this->data_profile = $this->Parser->WEBParsing('https://osu.ppy.sh/u/' . $osuid);
$this->OsuID = $this->Parser->splits($this->data_profile, 'var userId = ', ';');