Changeset 2159:d709a73eb75b for inc/core/class.dc.auth.php
- Timestamp:
- 09/30/13 09:51:02 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.auth.php
r1179 r2159 377 377 return $this->blogs[$blog_id]; 378 378 } 379 380 if ($this->blog_count === null) { 381 $this->blog_count = $this->core->getBlogs(array(),true)->f(0); 382 } 383 379 384 380 if ($this->user_admin) { 385 381 $strReq = 'SELECT blog_id '. … … 404 400 return $this->blogs[$blog_id]; 405 401 } 402 403 public function getBlogCount() { 404 if ($this->blog_count === null) { 405 $this->blog_count = $this->core->getBlogs(array(),true)->f(0); 406 } 407 408 return $this->blog_count; 409 } 406 410 407 411 public function findUserBlog($blog_id=null)
Note: See TracChangeset
for help on using the changeset viewer.