aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Factory.php')
-rw-r--r--app/Models/Factory.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Models/Factory.php b/app/Models/Factory.php
index 1accb491c..6f2ca2217 100644
--- a/app/Models/Factory.php
+++ b/app/Models/Factory.php
@@ -2,6 +2,10 @@
class FreshRSS_Factory {
+ public static function createUserDao($username = null) {
+ return new FreshRSS_UserDAO($username);
+ }
+
public static function createCategoryDao($username = null) {
return new FreshRSS_CategoryDAO($username);
}