diff --git a/PHPCI/Model/Base/BuildBase.php b/PHPCI/Model/Base/BuildBase.php index 59e4c21e..569c9d6b 100644 --- a/PHPCI/Model/Base/BuildBase.php +++ b/PHPCI/Model/Base/BuildBase.php @@ -631,31 +631,4 @@ class BuildBase extends Model { return Factory::getStore('BuildMeta', 'PHPCI')->getByBuildId($this->getId()); } - - - - - public static function getByPrimaryKey($value, $useConnection = 'read') - { - return Factory::getStore('Build', 'PHPCI')->getByPrimaryKey($value, $useConnection); - } - - - public static function getById($value, $useConnection = 'read') - { - return Factory::getStore('Build', 'PHPCI')->getById($value, $useConnection); - } - - public static function getByProjectId($value, $limit = null, $useConnection = 'read') - { - return Factory::getStore('Build', 'PHPCI')->getByProjectId($value, $limit, $useConnection); - } - - public static function getByStatus($value, $limit = null, $useConnection = 'read') - { - return Factory::getStore('Build', 'PHPCI')->getByStatus($value, $limit, $useConnection); - } - - - } diff --git a/PHPCI/Model/Base/BuildMetaBase.php b/PHPCI/Model/Base/BuildMetaBase.php index 83333102..b7f85490 100644 --- a/PHPCI/Model/Base/BuildMetaBase.php +++ b/PHPCI/Model/Base/BuildMetaBase.php @@ -337,26 +337,4 @@ class BuildMetaBase extends Model { return $this->setBuildId($value->getId()); } - - - - - public static function getByPrimaryKey($value, $useConnection = 'read') - { - return Factory::getStore('BuildMeta', 'PHPCI')->getByPrimaryKey($value, $useConnection); - } - - - public static function getById($value, $useConnection = 'read') - { - return Factory::getStore('BuildMeta', 'PHPCI')->getById($value, $useConnection); - } - - public static function getByBuildId($value, $limit = null, $useConnection = 'read') - { - return Factory::getStore('BuildMeta', 'PHPCI')->getByBuildId($value, $limit, $useConnection); - } - - - } diff --git a/PHPCI/Model/Base/ProjectBase.php b/PHPCI/Model/Base/ProjectBase.php index aeeee67c..9e2f5922 100644 --- a/PHPCI/Model/Base/ProjectBase.php +++ b/PHPCI/Model/Base/ProjectBase.php @@ -516,26 +516,4 @@ class ProjectBase extends Model { return Factory::getStore('Build', 'PHPCI')->getByProjectId($this->getId()); } - - - - - public static function getByPrimaryKey($value, $useConnection = 'read') - { - return Factory::getStore('Project', 'PHPCI')->getByPrimaryKey($value, $useConnection); - } - - - public static function getById($value, $useConnection = 'read') - { - return Factory::getStore('Project', 'PHPCI')->getById($value, $useConnection); - } - - public static function getByTitle($value, $limit = null, $useConnection = 'read') - { - return Factory::getStore('Project', 'PHPCI')->getByTitle($value, $limit, $useConnection); - } - - - } diff --git a/PHPCI/Model/Base/UserBase.php b/PHPCI/Model/Base/UserBase.php index f0b0e393..514a0db9 100644 --- a/PHPCI/Model/Base/UserBase.php +++ b/PHPCI/Model/Base/UserBase.php @@ -273,26 +273,4 @@ class UserBase extends Model $this->_setModified('name'); } - - - - - public static function getByPrimaryKey($value, $useConnection = 'read') - { - return Factory::getStore('User', 'PHPCI')->getByPrimaryKey($value, $useConnection); - } - - - public static function getById($value, $useConnection = 'read') - { - return Factory::getStore('User', 'PHPCI')->getById($value, $useConnection); - } - - public static function getByEmail($value, $useConnection = 'read') - { - return Factory::getStore('User', 'PHPCI')->getByEmail($value, $useConnection); - } - - - }