Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adminテンプレートにあるペイジェントモジュール連携用のコードは意図したもの? #967

Closed
clicktx opened this issue Aug 2, 2024 · 4 comments

Comments

@clicktx
Copy link
Contributor

clicktx commented Aug 2, 2024

<!--{* ペイジェントモジュール連携用 *}-->
<!--{assign var=path value=`$smarty.const.MODULE_PATH`mdl_paygent/paygent_order_index.tpl}-->
<!--{if file_exists($path)}-->
<!--{include file=$path}-->
<!--{else}-->

相当前からこのコードが残っているのですが、これは意図して残してあるものなのでしょうか?
511cc24 までは無かったみたいですが、 7f423c2 から入っているようです。

@seasoftjapan
Copy link
Contributor

seasoftjapan commented Aug 2, 2024

直近のモジュール (2023-08 頃) だと mdl_paygent\files\templates\admin\paygent_order_index.tpl に移動している様子なので、空回りしていそうですね。

2011-10 頃のモジュール (2.4向け?) では存在しますね。

@clicktx
Copy link
Contributor Author

clicktx commented Aug 2, 2024

2.4向け

そうなのですね。2.4用のペイジェントモジュールのコードは入手できないので確認できませんが、2.17用のコードを斜め読みした感じだと該当のページのテンプレートはそっくり置き換えているっぽいので必要なさそうに見えますね。

@nanasess
Copy link
Contributor

nanasess commented Aug 3, 2024

@clicktx @seasoftjapan
他にも過去のモジュール連携用のコードがいくつかあるのですが、すべて不要だと思いますので PR いただけると助かります🙏
https://github.com/search?q=repo%3AEC-CUBE%2Fec-cube2%20smarty.const.MODULE_REALDIR&type=code

@nanasess
Copy link
Contributor

nanasess commented Aug 5, 2024

#972 でマージしましたのでクローズします

@nanasess nanasess closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants