Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- final class ccNews extends CSQL2 {
- function __construct($db, $where = null, $autoload = true, $autosave = true) {
- if ($where != null && gettype($where) != 'array') {
- $where = array('id' => $where);
- }
- parent::__construct($db, 'cc' . SERVERID . '_users', $where, array(
- 'sequence' => 'id',
- 'autoload' => $autoload,
- 'autosave' => $autosave
- ));
- }
- }
Add Comment
Please, Sign In to add comment