Permalink
Browse files

Remove wrong phpdoc tags

  • Loading branch information...
1 parent 4c0ba6e commit 9b007bb2f6fdaf614ae2b69b5f6c709c58598600 @atrol atrol committed Oct 22, 2013
Showing with 0 additions and 6 deletions.
  1. +0 −1 core/news_api.php
  2. +0 −2 core/project_api.php
  3. +0 −1 core/summary_api.php
  4. +0 −2 core/user_api.php
View
@@ -57,7 +57,6 @@
* @param string $p_headline News Headline
* @param string $p_body News Body
* @return int news article id
- * @throws MantisBT\Exception\Field\EmptyField
*/
function news_create( $p_project_id, $p_poster_id, $p_view_state, $p_announcement, $p_headline, $p_body ) {
if( is_blank( $p_headline ) ) {
View
@@ -89,7 +89,6 @@ function project_table_empty() {
* @param int $p_project_id project id
* @param bool $p_trigger_errors trigger errors
* @return mixed
- * @throws MantisBT\Exception\Project\ProjectNotFound
*/
function project_cache_row( $p_project_id, $p_trigger_errors = true ) {
global $g_cache_project, $g_cache_project_missing;
@@ -529,7 +528,6 @@ function project_get_all_rows() {
* @param int $p_project_id project id
* @param string $p_field_name field name
* @param bool $p_trigger_errors trigger errors
- * @throws MantisBT\Exception\Database\FieldNotFound
* @return string
*/
function project_get_field( $p_project_id, $p_field_name, $p_trigger_errors = true ) {
View
@@ -95,7 +95,6 @@ function summary_helper_get_developer_label ( $p_user_id ) {
* The enum field name is passed in through $p_enum
*
* @param string $p_enum enum field name
- * @throws MantisBT\Exception\Database\FieldNotFound
*/
function summary_print_by_enum( $p_enum ) {
$t_project_id = helper_get_current_project();
View
@@ -1279,7 +1279,6 @@ function user_get_reported_open_bug_count( $p_user_id, $p_project_id = ALL_PROJE
* @param int $p_user_id User ID
* @param int $p_profile_id Profile ID
* @return array
- * @throws MantisBT\Exception\User\UserProfileNotFound
*/
function user_get_profile_row( $p_user_id, $p_profile_id ) {
$t_user_profile_table = db_get_table( 'user_profile' );
@@ -1521,7 +1520,6 @@ function user_set_fields( $p_user_id, $p_fields ) {
* @param string $p_field_name Field Name
* @param string $p_field_value Field Value
* @return bool always true
- * @throws MantisBT\Exception\Database\FieldNotFound
*/
function user_set_field( $p_user_id, $p_field_name, $p_field_value ) {

0 comments on commit 9b007bb

Please sign in to comment.