Code needs cleanup

kiamlaluno - June 2, 2008 - 16:50
Project:User Points Top Contributors
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

userpoints_top_contributors.module doesn't use hook_userpoints() to add more settings in the userpoints.module settings form.

#1

kbahey - June 2, 2008 - 16:53
Project:User Points Contributed modules» User Points Top Contributors
Version:5.x-3.x-dev» 5.x-1.x-dev
Component:Code: userpoints_top_contributors» Code

This is a separate project, no longer under the contrib collection.

#2

kiamlaluno - June 4, 2008 - 23:18
Status:active» needs review

The patch resolves erroneous code like

<?php
variable_get
(userpoints_top_contributors_period, 86400)
?>

which should be written

<?php
variable_get
('userpoints_top_contributors_period', 86400)
?>

#3

kiamlaluno - June 4, 2008 - 23:37
Category:task» bug report

#4

kiamlaluno - June 13, 2008 - 12:48
Title:userpoints_top_contributors.module needs cleanup» Code needs cleanup
Version:5.x-1.x-dev» 5.x-1.0

I have some problems on attaching patches.
This patch is for all the project, version 5.x-1.0 dated April 15th.

AttachmentSize
userpoints_top_contributors_0001.patch 11.34 KB

#5

kmillecam - June 30, 2008 - 00:37
Status:needs review» closed

Thanks Kiam,

Committed to Dev.

 
 

Drupal is a registered trademark of Dries Buytaert.