Permalink
Browse files

fixed deprecation notice

  • Loading branch information...
1 parent 82b55a8 commit 9119b99058556b8cc7ea3d4d69e450af37822e3d @beck24 committed Jul 4, 2012
Showing with 22 additions and 16 deletions.
  1. +17 −0 CHANGES.txt
  2. +1 −4 actions/delete.php
  3. +0 −10 changelog.txt
  4. +3 −1 readme.txt
  5. +1 −1 views/default/admin/users/member_selfdelete/reasons.php
View
@@ -0,0 +1,17 @@
+== Version History ==
+
+1.4 (07/04/2012):
+
+ - Removed deprecation notice
+
+1.3 (04/20/2012):
+
+ - Replace deprecated event hook registration
+
+1.2 (04/07/2012):
+
+ - Fix issue with white screen during activation on some systems
+
+1.0 (02/20/2012):
+
+ - Initial Release
View
@@ -99,10 +99,7 @@
// reset password to unusable password
$user->password = md5(substr(md5(microtime()), 0, 8));
- // example.com tosses all email
- // plus we'll be preventing mail from being sent to this user
- // so we shouldn't be affecting them anyway
- $user->email = "anon{$user->guid}@example.com";
+ $user->email = "anon{$user->guid}@" . get_site_domain();
// set our single piece of metadata that tells us this user has been deleted
$user->member_selfdelete = "anonymized";
View
@@ -1,10 +0,0 @@
-Changelog
-
-04/20/2012
-Replace deprecated event hook registration
-
-04/07/2012
-Fix issue with white screen during activation on some systems
-
-02/20/2012
-Initial Release
View
@@ -5,4 +5,6 @@ that could be useful for admins to improve their site.
Installation:
Place this directory into the mod directory of your elgg installation.
-Activate in the Tools Administration interface.
+Activate in the Tools Administration interface.
+
+plugin should reside in mod/member_selfdelete
@@ -23,7 +23,7 @@
$content = "<br>";
$content .= elgg_view('navigation/pagination',array(
- 'baseurl' => elgg_get_site_url() . "admin/users/member_selfdelete/reasons",
+ 'base_url' => elgg_get_site_url() . "admin/users/member_selfdelete/reasons",
'offset' => $offset,
'count' => $total,
'limit' => $limit,

0 comments on commit 9119b99

Please sign in to comment.