File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,19 @@ const oc = {
6262 webroot : '19.0.0' ,
6363} ;
6464
65+ const oca = {
66+ Search : '20.0.0' ,
67+ }
68+
6569const ocp = {
6670 Toast : '19.0.0' ,
6771}
6872
6973const oc_sub = {
70-
74+ Util : {
75+ formatDate : '20.0.0' ,
76+ relativeModifiedDate : '20.0.0' ,
77+ }
7178} ;
7279
7380module . exports = {
@@ -94,6 +101,11 @@ module.exports = {
94101 && oc . hasOwnProperty ( node . property . name ) ) {
95102 context . report ( node , "The property or function OC." + node . property . name + " was deprecated in Nextcloud " + oc [ node . property . name ] ) ;
96103 }
104+ // OCA.x
105+ if ( node . object . name === 'OCA'
106+ && oca . hasOwnProperty ( node . property . name ) ) {
107+ context . report ( node , "The property or function OCA." + node . property . name + " was deprecated in Nextcloud " + oca [ node . property . name ] ) ;
108+ }
97109 // OCP.x
98110 if ( node . object . name === 'OCP'
99111 && ocp . hasOwnProperty ( node . property . name ) ) {
Original file line number Diff line number Diff line change 55//------------------------------------------------------------------------------
66
77const global = {
8+ escapeHTML : '20.0.0' ,
89 fileDownloadPath : '15.0.0' ,
910 formatDate : '19.0.0' ,
1011 getScrollBarWidth : '15.0.0' ,
You can’t perform that action at this time.
0 commit comments