user_details.install 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?php
  2. /**
  3. * @file
  4. * Installation file for User Details.
  5. */
  6. /**
  7. * Implements hook_uninstall().
  8. */
  9. function user_details_uninstall() {
  10. variable_del('user_details_loggedin_avatar_display');
  11. variable_del('user_details_loggedin_points_display');
  12. variable_del('user_details_loggedin_joined_display');
  13. variable_del('user_details_loggedin_postcount_display');
  14. variable_del('user_details_loggedin_rank_display');
  15. variable_del('user_details_loggedin_stats_hr_display');
  16. variable_del('user_details_loggedin_privatemsg_display');
  17. variable_del('user_details_loggedin_frontlink_display');
  18. variable_del('user_details_loggedin_frontlink_imgsrc');
  19. variable_del('user_details_loggedin_profilelink_display');
  20. variable_del('user_details_loggedin_profilelink_imgsrc');
  21. variable_del('user_details_loggedin_profileeditlink_display');
  22. variable_del('user_details_loggedin_profileeditlink_imgsrc');
  23. variable_del('user_details_loggedin_privatemsglink_display');
  24. variable_del('user_details_loggedin_privatemsglink_imgsrc');
  25. variable_del('user_details_loggedin_createlink_display');
  26. variable_del('user_details_loggedin_createlink_imgsrc');
  27. variable_del('user_details_loggedin_adminlink_display');
  28. variable_del('user_details_loggedin_adminlink_imgsrc');
  29. variable_del('user_details_loggedin_panelslink_display');
  30. variable_del('user_details_loggedin_panelslink_imgsrc');
  31. variable_del('user_details_loggedin_viewslink_display');
  32. variable_del('user_details_loggedin_viewslink_imgsrc');
  33. variable_del('user_details_loggedin_performancelink_display');
  34. variable_del('user_details_loggedin_performancelink_imgsrc');
  35. variable_del('user_details_loggedin_logoutlink_display');
  36. variable_del('user_details_loggedin_logoutlink_imgsrc');
  37. variable_del('user_details_loggedin_customlinkone_type');
  38. variable_del('user_details_loggedin_customlinkone_url');
  39. variable_del('user_details_loggedin_customlinkone_imgsrc');
  40. variable_del('user_details_loggedin_customlinkone_imgtitle');
  41. variable_del('user_details_loggedin_customlinktwo_type');
  42. variable_del('user_details_loggedin_customlinktwo_url');
  43. variable_del('user_details_loggedin_customlinktwo_imgsrc');
  44. variable_del('user_details_loggedin_customlinkthree_type');
  45. variable_del('user_details_loggedin_customlinkthree_url');
  46. variable_del('user_details_loggedin_customlinkthree_imgsrc');
  47. variable_del('user_details_loggedin_customlinkthree_imgtitle');
  48. variable_del('user_details_loggedin_customlinkfour_type');
  49. variable_del('user_details_loggedin_customlinkfour_url');
  50. variable_del('user_details_loggedin_customlinkfour_imgsrc');
  51. variable_del('user_details_loggedin_customlinkfour_imgtitle');
  52. variable_del('user_details_loggedin_customlinkfive_type');
  53. variable_del('user_details_loggedin_customlinkfive_url');
  54. variable_del('user_details_loggedin_customlinkfive_imgsrc');
  55. variable_del('user_details_loggedin_customlinkfive_imgtitle');
  56. variable_del('user_details_loggedin_links_hr_display');
  57. variable_del('user_details_loggedin_content_display');
  58. variable_del('user_details_loggedin_content_amount');
  59. variable_del('user_details_authored_avatar_display');
  60. variable_del('user_details_authored_points_display');
  61. variable_del('user_details_authored_joined_display');
  62. variable_del('user_details_authored_postcount_display');
  63. variable_del('user_details_authored_rank_display');
  64. variable_del('user_details_authored_stats_hr_display');
  65. variable_del('user_details_authored_profilelink_display');
  66. variable_del('user_details_authored_profilelink_imgsrc');
  67. variable_del('user_details_authored_privatemsglink_display');
  68. variable_del('user_details_authored_privatemsglink_imgsrc');
  69. variable_del('user_details_authored_links_hr_display');
  70. variable_del('user_details_authored_content_display');
  71. variable_del('user_details_authored_content_amount');
  72. /** removing old variables **/
  73. variable_del('user_details_loggedin_visibility');
  74. variable_del('user_details_loggedin_subscriptionslink');
  75. variable_del('user_details_loggedin_profilelink_reset');
  76. variable_del('user_details_loggedin_profileeditlink');
  77. variable_del('user_details_loggedin_privatemsg_count');
  78. variable_del('user_details_loggedin_privatemsglink');
  79. variable_del('user_details_loggedin_iconcolor');
  80. variable_del('user_details_loggedin_customlinktwo_user');
  81. variable_del('user_details_loggedin_customlinktwo_imgtitle');
  82. variable_del('user_details_loggedin_customlinktwo');
  83. variable_del('user_details_loggedin_customlinkthree');
  84. variable_del('user_details_loggedin_customlinkone');
  85. variable_del('user_details_loggedin_customlinkfour');
  86. variable_del('user_details_loggedin_customlinkfive');
  87. variable_del('user_details_loggedin_contentamount');
  88. variable_del('user_details_loggedin_adminlink');
  89. variable_del('user_details_loggedin_rank');
  90. variable_del('user_details_loggedin_profilelink');
  91. variable_del('user_details_authored_rank');
  92. variable_del('user_details_authored_profilelink');
  93. variable_del('user_details_authored_privatemsglink');
  94. variable_del('user_details_authored_postcount');
  95. variable_del('user_details_authored_points');
  96. variable_del('user_details_authored_joined');
  97. variable_del('user_details_authored_contentamount');
  98. variable_del('user_details_authored_content');
  99. variable_del('user_details_authored_avatar');
  100. }