diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2021-10-29 16:01:52 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2021-10-29 16:26:42 +0200 |
| commit | 6cf0ff6b49ee6b189eb5a308089dc86d42f79019 (patch) | |
| tree | c8616d72e46ad6790b2dcaf27f4bb196ea17f198 /kubernetes | |
| parent | 86f75758a76427dd7564ef17bc6a33b6d7ce2e62 (diff) | |
| download | invidious-6cf0ff6b49ee6b189eb5a308089dc86d42f79019.tar.gz invidious-6cf0ff6b49ee6b189eb5a308089dc86d42f79019.tar.bz2 invidious-6cf0ff6b49ee6b189eb5a308089dc86d42f79019.zip | |
Remove useless auto_generated param from PlaylistVideo#to_xml
given the variables available in this function's context, 'author' and 'ucid'
provide the same data 'self.author' and 'self.ucid', respectively.
Given that fact, the variable `auto_generated` has no impact on the logic of
this function, and hence can be safely removed. this greatly simplifies the
code and makes it perfectly compatible with crystal's calling convention for
'#to_xml' methods.
Diffstat (limited to 'kubernetes')
0 files changed, 0 insertions, 0 deletions
