File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,8 @@ function Source_PVM( $p_trigger_error=true ) {
5656 } else {
5757 trigger_error ( ERROR_GENERIC , ERROR );
5858 }
59- } else {
60- return false ;
6159 }
60+ return false ;
6261}
6362
6463/**
@@ -821,7 +820,7 @@ static function delete( $p_id ) {
821820 $ t_repo_table = plugin_table ( 'repository ' , 'Source ' );
822821
823822 $ t_query = "DELETE FROM $ t_repo_table WHERE id= " . db_param ();
824- $ t_result = db_query ( $ t_query , array ( (int ) $ p_id ) );
823+ db_query ( $ t_query , array ( (int ) $ p_id ) );
825824 }
826825
827826 /**
@@ -1216,7 +1215,6 @@ static function from_result( $p_result, $p_load_files=false ) {
12161215 * @param int $p_repo_id Repository ID
12171216 */
12181217 static function delete_by_repo ( $ p_repo_id ) {
1219- $ t_bug_table = plugin_table ( 'bug ' , 'Source ' );
12201218 $ t_changeset_table = plugin_table ( 'changeset ' , 'Source ' );
12211219
12221220 # first drop any files for the repository's changesets
You can’t perform that action at this time.
0 commit comments