Changeset 1224463 in github


Ignore:
Timestamp:
Jan 13, 2012 6:51:20 AM (16 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
e493c84
Parents:
4391a780
Message:
  • Remove redundant ldap_count_entries() call
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_ldap.php

    rad8c9db r1224463  
    871871                $this->filter = $this->prop['filter']; 
    872872            } 
    873             $this->_exec_search(true); 
    874             if ($this->ldap_result) { 
    875                 $count = ldap_count_entries($this->conn, $this->ldap_result); 
    876             } 
     873 
     874            $count = (int) $this->_exec_search(true); 
    877875        } 
    878876 
Note: See TracChangeset for help on using the changeset viewer.