summaryrefslogtreecommitdiff
path: root/includes/assets.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/assets.inc')
-rw-r--r--includes/assets.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/includes/assets.inc b/includes/assets.inc
index 3f9971a..05296ce 100644
--- a/includes/assets.inc
+++ b/includes/assets.inc
@@ -13,7 +13,6 @@ function downloadAssets($system) {
echo(" /avatars/$id.webp\n");
file_put_contents("/tmp/img." . pathinfo($general['avatar_url'], PATHINFO_EXTENSION), file_get_contents($general['avatar_url']));
exec("convert -resize 512x512 \"" . "/tmp/img." . pathinfo($general['avatar_url'], PATHINFO_EXTENSION) . "\" ../assets/avatars/" . $id . ".webp");
- exec("convert -resize 512x512 \"" . "/tmp/img." . pathinfo($general['avatar_url'], PATHINFO_EXTENSION) . "\" ../assets/uploads/" . ($id === "gdapd" ? "raindrops" : "cloudburst") . ".png");
unlink("/tmp/img." . pathinfo($general['avatar_url'], PATHINFO_EXTENSION));
}