Changeset 1358 for plugins

Show
Ignore:
Timestamp:
11/26/08 16:21:57 (6 weeks ago)
Author:
rickc
Message:

Plugin: simpleblacklist: Updated to current usage for User objects.

Location:
plugins/simpleblacklist/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • plugins/simpleblacklist/trunk/readme.txt

    r1269 r1358  
    11Plugin: Simple Blacklist 
    22URL: http://habariproject.org 
    3 Version: 1.1 
     3Version: 1.1.1 
    44Author: Habari Project 
    55 
     
    3737 
    3838Changelog 
     39Version 1.1.1 
     40Fixed: Updated to use new user object properly 
    3941 
    4042Version 1.1 
  • plugins/simpleblacklist/trunk/simpleblacklist.plugin.php

    r1269 r1358  
    4646    { 
    4747        // don't blacklist logged-in users: they can speak freely 
    48         if ( User::identify() ) { return true; } 
     48        if ( User::identify()->loggedin ) { return true; } 
    4949 
    5050        // and if the person has more than 5 comments approved,