diff options
author | Malf Furious <m@lfurio.us> | 2016-09-18 11:59:11 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2016-09-18 11:59:11 -0400 |
commit | 35da301d31045b0974100307a7f0f4128b482170 (patch) | |
tree | 3e4624c95293c3000e0dbac095af4a461ae35176 /app/class/user.class.php | |
parent | 63ca3ee23edd66cae4a2cc621cfc1352ea958a27 (diff) | |
download | scrott-35da301d31045b0974100307a7f0f4128b482170.tar.gz scrott-35da301d31045b0974100307a7f0f4128b482170.zip |
Move function User::rmHeadImage() to Object class
Diffstat (limited to '')
-rw-r--r-- | app/class/user.class.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/class/user.class.php b/app/class/user.class.php index 44b4b5f..b8143a9 100644 --- a/app/class/user.class.php +++ b/app/class/user.class.php @@ -214,17 +214,6 @@ class User extends Object } /* - * Remove this user's head image - */ - function rmHeadImage() - { - if (!is_file("assets/img/heads/" . $this->guid)) - return true; - - return unlink("assets/img/heads/" . $this->guid); - } - - /* * Get all groups this user owns or is a member of */ function getGroups() |