beroNet / Open-PBX

embedded PBX based on Asterisk, which runs on a beroNet Gateway
MIT License
5 stars 3 forks source link

add function 'num_rows' to class 'beroAri' (database) #5

Closed sebastianertz closed 11 years ago

sebastianertz commented 11 years ago

Before:

if (sqlite_num_rows($query) > 0) {
.....
}

After merge feature add-db-func-num_rows:

if ($ba->num_rows($query) > 0)  {
.....
}