[ 
https://issues.apache.org/jira/browse/VCL-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202612#comment-14202612
 ] 

ASF subversion and git services commented on VCL-776:
-----------------------------------------------------

Commit 1637443 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1637443 ]

VCL-776 - rework resource code to have a base class for all resources and 
inheriting classes for each resource type

xmlrpcWrappers.php:
-modified XMLRPCautoCapture: changed keys of some fields in $data array to 
match what is in addResource; added query to set state of request to image and 
update imageid and imagerevisionid of reservation
-modified XMLRPCfinishBaseImageCapture: removed require_once for images.php; 
added require_once for resource.php and image.php; create Image object and call 
addImagePermissions on it instead of addImagePermissions directly (which does 
not exist anymore)

> rework resource code to have a base class for all resources and inheriting 
> classes for each resource type
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: VCL-776
>                 URL: https://issues.apache.org/jira/browse/VCL-776
>             Project: VCL
>          Issue Type: Improvement
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.4
>
>
> Rework the code for resources so that there is a base class that provides 
> common functionality for all resources and then write classes that inherit 
> from that to provide resource specific functionality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to