aboutsummaryrefslogtreecommitdiff
path: root/actions/avatar/revert.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/avatar/revert.php')
-rw-r--r--actions/avatar/revert.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/actions/avatar/revert.php b/actions/avatar/revert.php
deleted file mode 100644
index 8cff40a68..000000000
--- a/actions/avatar/revert.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-/**
- * Avatar revert action
- */
-
-$guid = get_input('guid');
-$user = get_entity($guid);
-if ($user) {
- unset($user->icontime);
- system_message(elgg_echo('avatar:revert:success'));
-} else {
- register_error(elgg_echo('avatar:revert:fail'));
-}
-
-forward(REFERER);