mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-03-07 15:16:40 +08:00
fix bugs
This commit is contained in:
parent
cda2760855
commit
d24ab3a0fe
@ -3,7 +3,7 @@
|
||||
* @Author: printempw
|
||||
* @Date: 2016-01-16 23:01:33
|
||||
* @Last Modified by: prpr
|
||||
* @Last Modified time: 2016-02-03 21:13:05
|
||||
* @Last Modified time: 2016-02-04 10:18:01
|
||||
*/
|
||||
|
||||
class user
|
||||
@ -68,9 +68,9 @@ class user
|
||||
}
|
||||
|
||||
public function unRegister() {
|
||||
if (is_null($this->getTexture('skin')))
|
||||
if (!is_null($this->getTexture('skin')))
|
||||
utils::remove("./textures/".$this->getTexture('skin'));
|
||||
if (is_null($this->getTexture('skin')))
|
||||
if (!is_null($this->getTexture('skin')))
|
||||
utils::remove("./textures/".$this->getTexture('cape'));
|
||||
return $this->db->delete($this->uname);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user