This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "FusionForge".
The branch, master has been updated via 089c7e1ef25d1a6e3856fdfbd64dda0b09f9d3bc (commit) from aed103c1da2798cb1e3fcac7a677d6958e94e492 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=089c7e1ef25d1a6e3856fdfbd64dda0b09f9d3bc commit 089c7e1ef25d1a6e3856fdfbd64dda0b09f9d3bc Author: Franck Villaume <franck.villa...@trivialdev.com> Date: Fri Apr 23 14:30:38 2021 +0200 drop unused PHP files diff --git a/src/common/widget/Rule_Widget.class.php b/src/common/widget/Rule_Widget.class.php deleted file mode 100644 index 2798661..0000000 --- a/src/common/widget/Rule_Widget.class.php +++ /dev/null @@ -1,32 +0,0 @@ -<?php -/** - * Copyright (c) STMicroelectronics, 2008. All Rights Reserved. - * - * Originally written by Manuel VACELET, 2008. - * - * This file is a part of Fusionforge. - * - * Fusionforge is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * Fusionforge is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Codendi. If not, see <http://www.gnu.org/licenses/>. - */ - -require_once 'common/valid/Rule.class.php'; - -/** - * Check that value match widget owner format - */ -class Rule_Widget_Owner extends Rule { - function isValid($val) { - return (preg_match('/^([a-z][0-9]+)$/', $val) === 1); - } -} diff --git a/src/common/widget/Valid_Widget.class.php b/src/common/widget/Valid_Widget.class.php deleted file mode 100644 index 29ab49e..0000000 --- a/src/common/widget/Valid_Widget.class.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php -/** - * Copyright (c) STMicroelectronics, 2008. All Rights Reserved. - * - * Originally written by Manuel VACELET, 2008. - * Copyright 2019, Franck Villaume - TrivialDev - * - * This file is a part of Fusionforge. - * - * Fusionforge is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * Fusionforge is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Codendi. If not, see <http://www.gnu.org/licenses/>. - */ - -require_once 'common/valid/ValidFactory.class.php'; -require_once 'Rule_Widget.class.php'; - -/** - * Valid that widget is a valid string and a valid widget owner. - */ -class Valid_Widget_Owner extends Valid_String { - function validate($value) { - $nrwo = new Rule_Widget_Owner(); - $this->addRule($nrwo); - return parent::validate($value); - } -} ----------------------------------------------------------------------- Summary of changes: src/common/widget/Rule_Widget.class.php | 32 ---------------------------- src/common/widget/Valid_Widget.class.php | 36 -------------------------------- 2 files changed, 68 deletions(-) delete mode 100644 src/common/widget/Rule_Widget.class.php delete mode 100644 src/common/widget/Valid_Widget.class.php hooks/post-receive -- FusionForge _______________________________________________ Fusionforge-commits mailing list Fusionforge-commits@lists.fusionforge.org http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits