dedimania code improvement

This commit is contained in:
kremsy 2017-05-20 10:27:29 +02:00
parent 2f7db3cafd
commit 04883a4dc6

View File

@ -648,10 +648,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
* @return RecordData[] * @return RecordData[]
*/ */
public function getDedimaniaRecords() { public function getDedimaniaRecords() {
if ($this->webHandler->getDedimaniaData() && $this->webHandler->getDedimaniaData()->records) { return $this->webHandler->getDedimaniaData()->records;
return $this->webHandler->getDedimaniaData()->records;
}
return null;
} }
/** /**